tech:install-ipython3
Table des matières
Install IPython
Debian
Install
#python3 -m pip install --user ipython sudo apt-get install python3-ipython
Lancement
python3 -m IPython
ou
/usr/bin/ipython3
#!/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
#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
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
pip-3.2 install --user matplotlib
Install de IPython3 Notebook
Voir :
En root :
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
sudo apt-get install python3-mpmath pip3 install --user sympy
Puis ipython3
from pylab import *
ipython3 notebook --pylab=inline --no-browser --profile=notebook
tech/install-ipython3.txt · Dernière modification : de Jean-Baptiste
