J'ai essayé d'ouvrir ipython dans le terminal avec ipython notebook
et il n'ouvrira pas ipython portable. Il donne l'erreur suivante:Ordinateur portable Ipython ne démarre pas sur la ligne de commande
| ~/documents/ud120-projects/datasets_questions @ HJ (JiaHui)
| => ipython notebook
[TerminalIPythonApp] WARNING | Subcommand `ipython notebook` is deprecated and
will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter notebook` in
the future
[I 14:46:50.516 NotebookApp] Serving notebooks from local directory:
/Users/JiaHui/Documents/ud120-projects/datasets_questions
[I 14:46:50.517 NotebookApp] 0 active kernels
[I 14:46:50.517 NotebookApp] The Jupyter Notebook is running at:
http://localhost:8888/?token=ef13f681f4d61223064e41a5a9e369813c155d27b0103471
[I 14:46:50.517 NotebookApp] Use Control-C to stop this server and shut down
all kernels (twice to skip confirmation).
[C 14:46:51.567 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?
token=ef13f681f4d61223064e41a5a9e369813c155d27b0103471
0:97: execution error: "http://localhost:8888/tree?
token=145eccd35722c35c6525d8a4d376f27aa60358dc7d00de4c" doesn’t understand the
“open location” message. (-1708)
J'ai amélioré le conda jupyter mais cela ne fonctionnera toujours pas. Comment puis-je réparer cela?
btw, j'ai également utilisé jupyter portable sur cmd, il donne la même erreur. – Hanshenry90
Discuté et résolu sur les [forums Jupyter GitHub] (https://github.com/jupyter/notebook/issues/2438) et dans [ce blog] (http://www.andrewjaffe.net/blog/2017/ 05/python-bug-hunt.html). –
J'ai suivi la réponse avec Kiem Nguyen, mais la dernière étape j'ai copié le 'c.NotebookApp.browser = u'chrome' 'de la réponse au lieu d'ajouter' chrome 'au fichier. Puis j'ai réussi. –