1. 程式人生 > 實用技巧 >VS code 不能執行jupyter

VS code 不能執行jupyter

錯誤資訊:

Failed to connect to remote Jupyter notebook. Check that the Jupyter Server URI setting has a valid running server specified. https://localhost:8080/ Error: Kernel Python 3 is not usable. Check the Jupyter output tab for more information.

解決辦法:

通過瀏覽器執行jupyter, 找到面板

複製上面的地址:http://localhost:8888/?token=aefb8bad4dd9ee80fdc4ea7c6402a2738974ccd1266925cd

在vs code中點選設定,

點選settings.json,將"python.dataScience.jupyterServerURI":”ulr“zhong url替換成複製的地址

完成!