Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'constants' from partially initialized module 'zmq.backend.cython' #5543

Closed
ggrrll opened this issue Jun 19, 2020 · 5 comments

Comments

@ggrrll
Copy link

ggrrll commented Jun 19, 2020

Hi,

I am not able to launch notebook, as it returns the same error as in #3435

neither pip un/install pyzmq or jsonschema worked

I am on Mac OS 10.15.5 and jupyter

jupyter core     : 4.6.3
jupyter-notebook : 6.0.3
qtconsole        : 4.5.5
ipython          : 8.0.0.dev
ipykernel        : not installed
jupyter client   : not installed
jupyter lab      : 1.2.3
nbconvert        : 5.6.1
ipywidgets       : not installed
nbformat         : 5.0.4
traitlets        : 4.3.3

Thanks for your help

(you can also reply in this SO post if you want)

@ggrrll
Copy link
Author

ggrrll commented Jun 19, 2020

ok, I had two python v. 3.7 and 3.8 – I removed 3.7 and now it's 'fine' (I still have to link the kernel, etc...)

@ggrrll ggrrll closed this as completed Jun 19, 2020
@wang-nima
Copy link

hi @ggrrll how do you remove other python version? and how do you find all python version installed on Mac?

@ggrrll
Copy link
Author

ggrrll commented Oct 9, 2020

(btw, I still have v. 2.7) – just open a terminal window, type python, press tab key and the autocomplete will show you what you have :)

@Mohsinrazaa
Copy link

Hey , use the following:
pip uninstall pyzmq
pip install pyzmq

The thing with conda is that it has a lot of conflicts, you might be having a conflict. Using simple pip command would help you to remove those conflicts. I mean it worked for me. I hope it helps

@kmsandeep
Copy link

Hey , use the following:
pip uninstall pyzmq
pip install pyzmq

The thing with conda is that it has a lot of conflicts, you might be having a conflict. Using simple pip command would help you to remove those conflicts. I mean it worked for me. I hope it helps

It worked. Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants