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 5: | Ligne 5: | ||
| Voir aussi : | Voir aussi : | ||
| - | * bpython | + | |
| - | * ptpython | + | * ptpython |
| - | * [[Notes xonsh - le shell Python]] | + | * [[Notes xonsh - le shell Python]] |
| Voir aussi : | Voir aussi : | ||
| - | * Scilab | + | |
| - | * SageMath | + | * SageMath |
| - | * Matlab | + | * Matlab |
| Ligne 30: | Ligne 30: | ||
| ou | ou | ||
| - | / | + | '' |
| ~~~python | ~~~python | ||
| # | # | ||
| Ligne 47: | Ligne 46: | ||
| '' | '' | ||
| - | |||
| ~~~bash | ~~~bash | ||
| #export PATH=" | #export PATH=" | ||
| Ligne 56: | Ligne 54: | ||
| - | ## Docker-compose | ||
| - | Password less. | ||
| - | '' | ||
| - | |||
| - | |||
| - | ~~~yaml | ||
| - | version: ' | ||
| - | services: | ||
| - | ipython: | ||
| - | image: jupyter/ | ||
| - | restart: unless-stopped | ||
| - | # Warning : No password ! | ||
| - | command: [" | ||
| - | environment: | ||
| - | GRANT_SUDO: " | ||
| - | user: root | ||
| - | ports: | ||
| - | - ' | ||
| - | volumes: | ||
| - | - ipython_work:/ | ||
| - | networks: | ||
| - | - ipython-net | ||
| - | |||
| - | networks: | ||
| - | ipython-net: | ||
| - | name: ipython-net | ||
| - | |||
| - | volumes: | ||
| - | ipython_work: | ||
| - | |||
| - | ~~~ | ||
| - | |||
| - | |||
| - | |||
| - | ## Install iPython sur Android Termux | ||
| - | |||
| - | ~~~bash | ||
| - | pkg update | ||
| - | pkg upgrade | ||
| - | pip install --user ipython | ||
| - | ~~~ | ||
| Ligne 118: | Ligne 75: | ||
| - | Puis sous le compte de l' | + | Puis sous le compte de l' |
| ~~~bash | ~~~bash | ||
| Ligne 127: | Ligne 84: | ||
| - | ### | + | ### Install de IPython3 Notebook |
| Ligne 164: | Ligne 121: | ||
| - | |||
| - | |||
| - | |||
| - | J'ai eu me même pb : | ||
| - | http:// | ||
| - | |||
| - | ~~~nginx | ||
| - | server { | ||
| - | listen 80; | ||
| - | root / | ||
| - | index index.html index.htm index.php ; | ||
| - | |||
| - | server_name notebook.mondomain.fr ; | ||
| - | |||
| - | error_log / | ||
| - | |||
| - | |||
| - | location / { | ||
| - | proxy_pass http:// | ||
| - | |||
| - | proxy_set_header X-Real-IP $remote_addr; | ||
| - | proxy_set_header Host $host; | ||
| - | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
| - | |||
| - | proxy_set_header X-NginX-Proxy true; | ||
| - | |||
| - | # WebSocket support | ||
| - | proxy_http_version 1.1; | ||
| - | proxy_set_header Upgrade $http_upgrade; | ||
| - | proxy_set_header Connection " | ||
| - | proxy_read_timeout 86400; | ||
| - | } | ||
| - | |||
| - | location ^~ /static/ { | ||
| - | alias / | ||
| - | } | ||
| - | } | ||
| - | ~~~ | ||
| - | |||
| - | ~~~bash | ||
| - | cd | ||
| - | mkdir books | ||
| - | |||
| - | |||
| - | vim ipython_notebook_config.py | ||
| - | ~~~ | ||
| - | |||
| - | ~~~python | ||
| - | c = get_config() | ||
| - | |||
| - | c.IPKernelApp.pylab = ' | ||
| - | c.NotebookApp.open_browser = False | ||
| - | c.NotebookApp.port = 5001 | ||
| - | ~~~ | ||
| - | |||
| - | |||
| - | ~~~bash | ||
| - | vi / | ||
| - | crontab -e | ||
| - | @reboot cd ${HOME}/ | ||
| - | ~~~ | ||
tech/install-ipython3.1743829857.txt.gz · Dernière modification : de Jean-Baptiste
