{{tag>Python Ipython Console FIXME}} # Install IPython Voir aussi : * bpython * ptpython * [[Notes xonsh - le shell Python]] Voir aussi : * Scilab * SageMath * Matlab ## Debian Install ~~~bash #python3 -m pip install --user ipython sudo apt-get install python3-ipython ~~~ Lancement ~~~bash python3 -m IPython ~~~ ou ''/usr/bin/ipython3'' ~~~python #!/usr/bin/python3 # -*- coding: utf-8 -*- import re import sys from IPython import start_ipython if __name__ == "__main__": sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0]) sys.exit(start_ipython()) ~~~ Alias ''~/.bashrc'' ~~~bash #export PATH="$PATH:$HOME/.local/bin" alias ipython='python3 -m IPython' ~~~ ## Old ### Install de ipython sur Debian Wheezy : Install ''ipython3 --pylab'' Debian Wheezy n'incluant pas python3-matplotlib https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690906 ~~~bash apt-get install python3-pip python3-numpy python3-scipy apt-get build-dep python-matplotlib ~~~ Puis sous le compte de l'utilisateur voulant exécuter ''ipython3 --pylab'' ~~~bash pip-3.2 install --user matplotlib ~~~ ### Install de IPython3 Notebook Voir : * http://www.scipy.org/install.htm * http://ipython.org/ipython-doc/stable/install/install.html * http://www.math.univ-paris13.fr/~cuvelier/mainsu23.html En root : ~~~bash apt-get install ipython3 ipython-qtconsole ipython3-notebook apt-get install python3-scipy python3-matplotlib python3-numpy apt-get install pandoc python3-tk python3-pandas python3-pip python3-nose python3-zmq python-pygments python3-jinja2 fonts-mathjax libjs-mathjax apt-get install python3-cairo python3-gi python3-gobject python3-pyqt4 python3-scipy python3-sip tix python3-tk-dbg ~~~ Install de sympy ~~~bash sudo apt-get install python3-mpmath pip3 install --user sympy ~~~ Puis ipython3 ~~~python from pylab import * ~~~ ~~~bash ipython3 notebook --pylab=inline --no-browser --profile=notebook ~~~