Outils pour utilisateurs

Outils du site


tech:install-ipython3

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:install-ipython3 [2025/04/05 07:10] Jean-Baptistetech:install-ipython3 [2025/05/14 03:22] (Version actuelle) Jean-Baptiste
Ligne 5: Ligne 5:
  
 Voir aussi : Voir aussi :
-* bpython +  * bpython 
-* ptpython +  * ptpython 
-* [[Notes xonsh - le shell Python]]+  * [[Notes xonsh - le shell Python]]
  
 Voir aussi : Voir aussi :
-* Scilab +  * Scilab 
-* SageMath +  * SageMath 
-* Matlab+  * Matlab
  
  
Ligne 30: Ligne 30:
 ou ou
  
-/usr/bin/ipython3 +''/usr/bin/ipython3''
 ~~~python ~~~python
 #!/usr/bin/python3 #!/usr/bin/python3
Ligne 47: Ligne 46:
  
 ''~/.bashrc'' ''~/.bashrc''
- 
 ~~~bash ~~~bash
 #export PATH="$PATH:$HOME/.local/bin" #export PATH="$PATH:$HOME/.local/bin"
Ligne 56: Ligne 54:
  
  
-## Docker-compose 
  
-Password less. 
  
-''docker-compose.yml'' 
- 
- 
-~~~yaml 
-version: '3.7' 
-services: 
-  ipython: 
-    image: jupyter/base-notebook 
-    restart: unless-stopped 
-    # Warning : No password ! 
-    command: ["start-notebook.sh", "--NotebookApp.token=''","--NotebookApp.password=''"] 
-    environment: 
-      GRANT_SUDO: "no" 
-    user: root 
-    ports: 
-      - '127.0.0.1:8083:8888' 
-    volumes: 
-      - ipython_work:/home/jovyan/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'utilisateur voulant executer ''ipython3 --pylab''+Puis sous le compte de l'utilisateur voulant exécuter ''ipython3 --pylab''
  
 ~~~bash ~~~bash
Ligne 127: Ligne 84:
  
  
-### Install de IPython3 Notebook+### Install de IPython3 Notebook
  
  
Ligne 164: Ligne 121:
  
  
- 
- 
- 
-J'ai eu me même pb : 
-http://stackoverflow.com/questions/22665809/how-to-configure-ipython-behind-nginx-in-a-subpath 
- 
-~~~nginx 
-server { 
-        listen 80; 
-        root /usr/share/nginx/www; 
-        index index.html index.htm index.php ; 
- 
-        server_name notebook.mondomain.fr ; 
- 
-        error_log /var/log/nginx/error-notebook.log; 
- 
- 
-    location / { 
-        proxy_pass http://localhost:5001; 
- 
-        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 "upgrade"; 
-        proxy_read_timeout 86400; 
-    } 
- 
-    location ^~ /static/ { 
-        alias /usr/share/ipython/notebook/static/; 
-    } 
-} 
-~~~ 
- 
-~~~bash 
-cd 
-mkdir books 
- 
- 
-vim ipython_notebook_config.py 
-~~~ 
- 
-~~~python 
-c = get_config() 
- 
-c.IPKernelApp.pylab = 'inline'  # if you want plotting support always 
-c.NotebookApp.open_browser = False 
-c.NotebookApp.port = 5001 
-~~~ 
- 
- 
-~~~bash 
-vi /etc/cron.allow 
-crontab -e 
-@reboot cd ${HOME}/books ; ipython3 notebook --pylab=inline --no-browser --profile=notebook >${HOME}/notebook.log 2>${HOME}/notebook.err 
-~~~ 
  
  
tech/install-ipython3.1743829857.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki