question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IPython install failed for new conda environment

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
DonJayamannecommented, Oct 26, 2022

Just confirmed that a conda env created with Python: create Environment still fails repeatedly

Yes, this is due to an upstream bug in Python extesnion, see here https://github.com/microsoft/vscode-jupyter/issues/11781#issuecomment-1291230337

0reactions
DonJayamannecommented, Nov 1, 2022

Verified as working (upstream Python extension issue has been resolved)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot install jupyter in conda environment #214 - GitHub
There when running conda install jupyter I get the annoying: Collecting package metadata (current_repodata.json): done Solving environment: ...
Read more >
Error while installing Jupyter Notebook in Anaconda prompt
After it confirms downloading the packages, it gives me the error. And what do you mean what does my environment contain? – Zelix75....
Read more >
Troubleshooting — conda 22.11.1.post16+ce4e810c9 ...
Occasionally, an installed package becomes corrupted. Conda works by unpacking the packages in the pkgs directory and then hard-linking them to the environment....
Read more >
Installation — JupyterLab 3.6.0b0 documentation
In case you can communicate via HTTP, but installation with conda fails on connectivity problems to HTTPS servers, you can disable using SSL...
Read more >
New MP-API fails in Jupyter - Materials Project Data/API
I made a new conda environment with the Python 3.10.5 on CentOS 7.9 and installed the new version of the Materials Project API...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found