1

I'm currently attempting to use jupyter notebook in VScode. I've downloaded the Python and Juypter notebook extensions. Whenever I try to run the code a prompt appears: enter image description here

click Install and I get this error message: Installing ipykernel: WARNING: Retrying (Retry(total=1, connect=None, re... module is not available.")': /simple/ipykernel/

It also shows this message: Running cells with 'Python 3.9.12 ('work_env': venv)' requires ipykernel package. Run the following command to install 'ipykernel' into the Python environment. Command: 'c:/EmgProj/work_env/Scripts/python.exe -m pip install ipykernel -U --force-reinstall'

If I use the code suggested above in the terminal, it successfully installs the extension but it still says I don't ipykernel when I try to run it. Can someone help please?

1
  • Are you installing in the correct environment? You can refer to this issue. Commented Sep 22, 2022 at 2:28

1 Answer 1

3

I had the same problem as you, reinstalling ipykernel still didn't work, finally I found

pip uninstall pyzmq

pip install pyzmq

works. The links below may be helpful:

Failed to change the Jupyter Kernel in VS Code

I get an error while installing ipykernel on vscode

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.