- Notifications
You must be signed in to change notification settings - Fork 350
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginteractive-windowImpacts interactive windowImpacts interactive windowverification-neededVerification of issue is requestedVerification of issue is requested
Milestone
Description
Applies To
- Notebooks (.ipynb files)
- Interactive Window and/or Cell Scripts (.py files with #%% markers)
What happened?
- Open a workspace
- Right click on an ipynb file
- Choose "Convert a Notebook to a Python Script"
Fails. Here's the log from an attempt I made. Note that my default Python interpreter is not set to PythonCodingPack\python.exe. However, it IS the python that's found first based on my Windows System Path setting. Guessing that's where this is coming from.
> ~\AppData\Local\Programs\PythonCodingPack\python.exe -m jupyter nbconvert --version Info 2021-10-01 11:55:22: Process Execution: > ~\AppData\Local\Programs\PythonCodingPack\python.exe -m jupyter nbconvert --version > ~\AppData\Local\Programs\PythonCodingPack\python.exe -m jupyter nbconvert --version Error 2021-10-01 11:55:22: Export failed [Error: Importing notebooks requires Jupyter nbconvert to be installed. at g.importFromFile (c:\Users\jimg\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.9.1001286107\out\client\extension.js:52:973776) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async s.export (c:\Users\jimg\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.9.1001286107\out\client\extension.js:52:923161) at async b.exportToFormat (c:\Users\jimg\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.9.1001286107\out\client\extension.js:52:920676) at async b.performExport (c:\Users\jimg\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.9.1001286107\out\client\extension.js:52:919861) at async b.export (c:\Users\jimg\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.9.1001286107\out\client\extension.js:52:919375) at async g.export (c:\Users\jimg\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.9.1001286107\out\client\extension.js:37:290037) at async l._executeContributedCommand (c:\Users\jimg\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:94:111612)] Info 2021-10-01 11:55:51: Notebook Closed file:///c%3A/Users/jimg/Repos/covid-19-data-1/SampleNbsAndScripts/test4nb.ipynb VS Code Version
Version: 1.61.0-insider (user setup) Commit: 4fbe0344a0cedaf2a04edef728c9a3f27777cc6c Date: 2021-09-29T05:38:00.706Z Electron: 13.5.0 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Windows_NT x64 10.0.22468
Jupyter Extension Version
v2021.9.1001286107
Jupyter logs
See aboveCoding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
No response
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginteractive-windowImpacts interactive windowImpacts interactive windowverification-neededVerification of issue is requestedVerification of issue is requested