报错情况

当启动jupyter notebook 或者 jupyter lab时候出现如下报错:

解决办法

## 法一:临时
# 通过如下命令,指定端口号启动jupyter
jupyter notebook --port 9999 

## 法二:永久
# 生成配置文件
jupyter notebook --generate-config
# 打开上面的文件
C:\user\**\jupyter\jupyter_notebook_config.py
# 修改文件内容为
c.NotebookApp.port = 9999

欢迎关注量哥的公众号【无量python】,进群一起交流python技术。

posted on 2022-01-13 23:31  jaysonteng  阅读(772)  评论(1编辑  收藏  举报