I am trying to use a Jupyter notebook for some Pandas in VS Code. I set up a virtual environment venv where I installed Pandas and jupyter. I always did it like this and it worked fine. But suddenly it does not work anymore.
I got the same error message because the jupyter package was missing in my selected environment.
pip install jupyter
resolved the problem for me.
From the official VS Code documentation:
To work with Python in Jupyter Notebooks, you must activate an Anaconda environment in VS Code, or another Python environment in which you've installed the Jupyter package.
Could you try to reinstall the pyzmq
module?
pip uninstall pyzmq
pip install pyzmq==19.0.2
The version number may be different depending on the jupyter-client
version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With