Alteryx Designer Knowledge Base

Definitive answers from Designer experts.

Error: "ImportError: cannot import name 'constants' from partially initialized module 'zmq.backend.cython' (most likely due to a circular import)" is shown when using Jupyter Flow tool

clarab
Alteryx
Alteryx
Created

Error: “ImportError: cannot import name 'constants' from partially initialized module 'zmq.backend.cython' (most likely due to a circular import) ”

 

Environment Details

 

The Jupyter Flow tool fails with the following error in the "jupyter_flow_xxxx.log" file when running a notebook created externally:
 

ImportError: cannot import name 'constants' from partially initialized module 'zmq.backend.cython' (most likely due to a circular import) 
 

Cause

 

The external Python environment is using a different Python version other than 3.8.5. 



Resolution


Ensure that the external Python environment is using Python version 3.8.5.



Additional Resources

No ratings