Risposte:
Per 4.0 e versioni successive È necessario installare l'app per notebook separatamente da https://github.com/jupyter/notebook
pip install jupyter
pip3 install jupyterse utilizzi un sistema in cui Python 3 è l'impostazione predefinita
ipyton notebook <notebook>non funziona per te, @meduz ha menzionato in un commento di seguito che la corsa jupyter notebook <notebookpotrebbe invece funzionare. Ciò ha risolto il problema per me.
pip3.6 install jupyterho fatto il lavoro
conda install jupyter installerà l'ultimo jupyter insieme ad altre dipendenze richieste
Verranno scaricati i seguenti pacchetti:
package | build
---------------------------|-----------------
mistune-0.7 | py27_0 186 KB
jinja2-2.8 | py27_0 263 KB
jupyter_core-4.0.3 | py27_0 25 KB
tornado-4.2.1 | py27_0 515 KB
jupyter_client-4.0.0 | py27_0 88 KB
nbformat-4.0.0 | py27_0 112 KB
ipykernel-4.0.3 | py27_0 111 KB
nbconvert-4.0.0 | py27_0 266 KB
jupyter_console-4.0.0 | py27_0 22 KB
notebook-4.0.1 | py27_0 4.2 MB
qtconsole-4.0.0 | py27_0 120 KB
ipywidgets-4.0.2 | py27_0 93 KB
jupyter-1.0.0 | py27_0 2 KB
------------------------------------------------------------
Total: 6.0 MB
Ho avuto lo stesso problema durante l'aggiornamento di ipython. Questo è un bug collegato all'ultima 4versione, ti consiglio di tornare alla versione stabile 3.2.1:
pip uninstall -y ipython
pip install ipython==3.2.1
-yopzione indica "sì, voglio disinstallare" senza interazionepip install jupyter.
jupyter notebookcomando anziché ipython notebookuno.
Questi due comandi risolveranno la maggior parte dei problemi per te:
sudo pip install --upgrade setuptools pip
sudo pip install --upgrade "ipython[all]"
se stai usando python versione 2
pip install jupyter
nel caso in cui si usi Python 3.x
pip3 installa jupyter
per essere al sicuro controlla anche che il modulo notebook sia installato o meno
pip install notebook
o
pip3 installa notebok
pip install jupyterè sufficiente per correggere l'errore e avviare il notebook.