如何迅速应对Jupyter启动时出现的停滞问题?
- 内容介绍
- 文章标签
- 相关推荐
本文共计541个文字,预计阅读时间需要3分钟。
问题描述:在Win10系统上,之前安装过Cpython。现在再次使用pip install ipython和pip install jupyter安装了Ipython 6.5.0与jupyter 1.0.0。但在PowerShell上使用jupyter notebook时,jupyter服务器始终无法启动。
问题描述
系统:Win10;之前安装过Cpython,现在依次使用pip install ipython与pip install jupyter安装了 Ipython 6.5.0与 jupyter 1.0.0。但是在PowerShell上使用命令jupyter notebook 运行jupyter时服务器始终卡顿,根本没法用。
解决方法
使用命令jupyter notebook --generate-config 可看到文件 jupyter_notebook_config.py位置
手动打开文件进行编辑,找到c.NotebookApp.notebook_dir 修改默认目录并去掉注释保存,最好修改目录到非C盘 c.NotebookApp.notebook_dir = 'E:\\Program Files\Python3_6_6\jupyter'(大约246行,注意磁盘名后面是双斜线)
jupyter notebook启动服务器,正常运行
补充知识:jupyter notebook 浏览器打开空白卡死情况
jupyter notebook 需要用谷歌浏览器打开才可以,其他的浏览器打开后多半是空白的。
本文共计541个文字,预计阅读时间需要3分钟。
问题描述:在Win10系统上,之前安装过Cpython。现在再次使用pip install ipython和pip install jupyter安装了Ipython 6.5.0与jupyter 1.0.0。但在PowerShell上使用jupyter notebook时,jupyter服务器始终无法启动。
问题描述
系统:Win10;之前安装过Cpython,现在依次使用pip install ipython与pip install jupyter安装了 Ipython 6.5.0与 jupyter 1.0.0。但是在PowerShell上使用命令jupyter notebook 运行jupyter时服务器始终卡顿,根本没法用。
解决方法
使用命令jupyter notebook --generate-config 可看到文件 jupyter_notebook_config.py位置
手动打开文件进行编辑,找到c.NotebookApp.notebook_dir 修改默认目录并去掉注释保存,最好修改目录到非C盘 c.NotebookApp.notebook_dir = 'E:\\Program Files\Python3_6_6\jupyter'(大约246行,注意磁盘名后面是双斜线)
jupyter notebook启动服务器,正常运行
补充知识:jupyter notebook 浏览器打开空白卡死情况
jupyter notebook 需要用谷歌浏览器打开才可以,其他的浏览器打开后多半是空白的。

