-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jupyter Server Fails to launch #3758
Comments
Increasing the timeout made no difference - in fact, if I watch the processes on my machine, I can see a jupyter process start and then terminate almost immediately. |
Aha! I think we may have it...
appears in the developer console as the server attempts to start. |
Could you try the insiders build? We added some more support for finding the conda activation script. This might be causing jupyter to fail to start. Although I would have expected some output from it. Also do you happen to have a global jupyter config setup? That might also change the behavior. |
I've tried the insiders build and had the same behaviour. I've just removed the |
So, I suspect this is something to do with me not having jupytext installed in either the base conda or the virtual env (not sure which at the moment). It's odd that it all behaves perfectly when the virtual env is first selected as the interpreter but not if the .vscode setting already exists - but my problem is fixed, so I'm happy!! Thanks for the pointer @rchiodo |
This should be fixed now that we generate our own config to use with jupyter. |
Environment data
Actual behavior
When settings.json exists within .vscode and includes a python.pythonPath entry pointing to a conda virtual environment, the jupyter server fails to launch.
If the .vscode folder is deleted, vscode restarted and the same interpreter selected from the menu, the jupyter server starts ok.
Expected behavior
Jupyter server starts and cells execute both when the interpreter is first selected and also when the editor is restarted in the same project.
Steps to reproduce:
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)None
Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
)The text was updated successfully, but these errors were encountered: