jupyter notebook
过程所遇到的一系列问题的解决办法pip3 install jupyter notebook
- 安装时并没有遇到什么明显的问题之类的
jupyter notebook
- 运行时报错
报错信息如下:
File "user/local/bin/jupyter", line 11, in <model>
sys.exit(main())
......省略
Exception: Jupyter command `jupyter-notebook.ipynb` not found.
> cd ~
> cd /root
> sudo vi notebook.ipynb
+ 随便添加一点内容保存
执行以下命令
> jupyter notebook notebook.ipynb --allow-root
+ 查看是否成功
> jupyter notebook password
Enter password:
> *****
Verify password:
> *****
- 然后又报错了,不具体的错误信息如下
FileNotFoundError: [Eror2] No such file or diretory: '/root/.jupyter/jupyter_note_config.json'
+ 解决办法
> python3
> from noteook.auth import passwd
> passwd()
Enter password:
> *****
Verify password:
> *****
> exit()
http://127.0.0.1:8888
(默认端口8888)就可以用了哦!ubuntu下 安装 `jupyter notebook` 过程所遇到的一系列问题的解决办法
原文:https://www.cnblogs.com/Kris777/p/11663286.html