vscode-jupyter: IPython install failed for new conda environment
Testing #11755
I created a new conda environment with the Python: Create Environment
command
When ran a cell in the IW, I was prompted to install IPython and clicked install
The cell fails, but the install seemed to actually work, subsequent cell executions are successful
The cell failed to execute with the error
Running cells with ‘c:\src\test\5.conda\python.exe’ requires ipykernel package. Run the following command to install ‘ipykernel’ into the Python environment. Command: ‘conda install -p c:\src\test\5.conda\python.exe ipykernel --update-deps --force-reinstall’
Error popup:
Error processing line 7 of C:\Users\aamunger\AppData\Roaming\Python\Python310\site-packages\pywin32.pth: Traceback (most recent call last): File “c:\src\test\5.conda\lib\site.py”, line 186, in addpackage exec(line) File “<string>”, line 1, in <module> ModuleNotFoundError: No module named ‘pywin32_bootstrap’ Remainder of file ignored c:\src\test\5.conda\python.exe: No module named ipykernel_launcher. View Jupyter log for further details.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (15 by maintainers)
Yes, this is due to an upstream bug in Python extesnion, see here https://github.com/microsoft/vscode-jupyter/issues/11781#issuecomment-1291230337