Reputation: 33
I'm trying to use jupyter-notebook in vs-code with the newest python extension, but always fail to launch jupyter notebook server
The jupyter notebook was installed by anoconda, and it works if i just type 'jupyter notebook' in cmd window.
Jupyter notebook failed to launch. Error: The Jupyter notebook server failed to launch in time
Upvotes: 3
Views: 3701
Reputation: 3117
Yi Wang and I worked on debugging this over e-mail, but putting the answer back here on SO to make sure that anyone else hitting this issues sees it. The issue here was that the Python Path setting in vscode was set to point to pythonw.exe and not python.exe. I'm going to file an issue on the VSCode extension to provide a better warning in this situation.
Thanks again Yi Want for providing the logs that let us debug this.
Upvotes: 2