tech:install-ipython3
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tech:install-ipython3 [2025/04/05 07:10] – Jean-Baptiste | tech:install-ipython3 [2025/05/14 03:22] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{tag> | ||
| + | |||
| + | # 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 | ||
| + | |||
| + | ''/ | ||
| + | ~~~python | ||
| + | # | ||
| + | # -*- coding: utf-8 -*- | ||
| + | import re | ||
| + | import sys | ||
| + | from IPython import start_ipython | ||
| + | if __name__ == " | ||
| + | sys.argv[0] = re.sub(r" | ||
| + | sys.exit(start_ipython()) | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | Alias | ||
| + | |||
| + | '' | ||
| + | ~~~bash | ||
| + | #export PATH=" | ||
| + | alias ipython=' | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ## Old | ||
| + | |||
| + | ### Install de ipython sur Debian Wheezy : | ||
| + | |||
| + | Install '' | ||
| + | |||
| + | Debian Wheezy n' | ||
| + | |||
| + | https:// | ||
| + | |||
| + | ~~~bash | ||
| + | apt-get install python3-pip python3-numpy python3-scipy | ||
| + | apt-get build-dep python-matplotlib | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | Puis sous le compte de l' | ||
| + | |||
| + | ~~~bash | ||
| + | pip-3.2 install --user matplotlib | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ### Install de IPython3 Notebook | ||
| + | |||
| + | |||
| + | Voir : | ||
| + | * http:// | ||
| + | * http:// | ||
| + | * http:// | ||
| + | |||
| + | 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 | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
