-
Notifications
You must be signed in to change notification settings - Fork 297
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
Python: Import Jupyter Notebook fails with nbconvert is not installed #3797
Comments
Installing globally fixed the issue but it should work from the active python interpreter. |
We run python -m jupyter nbconvert --version to determine if it's there or not. Although this might be related to us picking the wrong jupyter kernelspec. See issue microsoft/vscode-python#3343 |
thanks @rchiodo. Is that global |
The active interpreter. |
Verified that this only works when I run |
I think the insiders build should have fixed your problem. I changed the way we load the kernel spec for jupyter. |
Fixed by "pip3 install nbconvert" and the restart VS Code |
This should be fixed now in our latest release. |
Environment data
Pipenv has a cool command for reporting all this information automatically:
pipenv --support | pbcopy
where the output of this command can be pasted straight into the github issue. You might consider adding something like this for thecode
CLI tool.Actual behavior
It says converting the notebook to python requires "jupyter nbconvert" to be installed. It is installed within the virtualenv as you can see through the output of
pip freeze
.Expected behavior
I expect it to convert the notebook.
Steps to reproduce:
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)I didn't see anything under Python.
Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
)The text was updated successfully, but these errors were encountered: