jupyter notebook :ImportError: cannot import name 'constants' 解决方案

  • 如果运行jupyter notebook 出现如下错误:
  File "B:\ProgramData\Anaconda3\lib\site-packages\zmq\backend\cython\__init__.py", line 6, in 
    from . import (constants, error, message, context,
ImportError: cannot import name 'constants'
  • 一种有效的解决方案是:
    Try uninstalling and reinstalling pyzmq.
  • 参考: https://github.com/jupyter/notebook/issues/636

你可能感兴趣的:(python)