Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 26/08/2015, à 16:28

xanmoo

[résolu] config ipython notebook (jupyter) en vrac

Bonjour à tous,

à la suite d'une mise à jour (sudo pip install -U ipython[all]), mon environnement ipython notebook est mort. Ce la se manifeste ainsi:
on peut démarrer un notebook ipython (jupyter) depuis un terminal ainsi:

$ jupyter notebook
[I 16:15:44.792 NotebookApp] Serving notebooks from local directory: /home/jeanpat
[I 16:15:44.792 NotebookApp] 0 active kernels 
[I 16:15:44.792 NotebookApp] The IPython Notebook is running at: http://localhost:8888/
[I 16:15:44.792 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

(process:11705): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
[I 16:15:50.325 NotebookApp] Kernel started: 50c937a7-9ab6-456f-8e65-6d7de55301a6
[IPKernelApp] ERROR | No such comm target registered: ipython.widget

jusque là tout va bien, si je veux additionner 1+1 (+Shift+enter), il ne se passe rien, par contre si je démarrage ipython dans une console 1+1 donne bien 2.

Ipython notebook souffre de la même maladie dans un environnement virtuel faisant appel au modules installés dans /usr/local... Par ipython notebook fonctionne dans un environnement virtuel séparé du reste des lib du système. La seule solution que je vois est de réinstaller totalement ubuntu...pour retrouver un système sain.

il doit y avoir une lib installée localement qui coince (zmq?), merci pour vos conseils...

Dernière modification par xanmoo (Le 03/09/2015, à 19:19)


Portable IBM Thinkpad R50e 2 Go | 40 Go: MX Linux 19.4
Portable IBM Thinkpad T430 8 Go | 240 Go: endeavour OS
Dell Precision T5500, Xeon x5570, 24Go, GTX 960- 4Go,  SSD 120Go, Ubuntu 22.04
http://dip4fish.blogspot.com/

Hors ligne

#2 Le 03/09/2015, à 19:18

xanmoo

Re : [résolu] config ipython notebook (jupyter) en vrac

solution,virer :

rm -rf ~/.local/share/jupyter

Portable IBM Thinkpad R50e 2 Go | 40 Go: MX Linux 19.4
Portable IBM Thinkpad T430 8 Go | 240 Go: endeavour OS
Dell Precision T5500, Xeon x5570, 24Go, GTX 960- 4Go,  SSD 120Go, Ubuntu 22.04
http://dip4fish.blogspot.com/

Hors ligne