windows conda Permission to listen on port 8888 denied


報錯情況

當啟動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技術。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM