尝试启动Jupyter笔记本时出现混乱错误

时间:2016-07-14 20:45:54

标签: python-3.x ipython-notebook jupyter jupyter-notebook

当我尝试启动Jupyter botebook的实例时出现以下输出:

C:\Users\CaitlinG>jupyter notebook
Traceback (most recent call last):
  File "c:\users\caitling\appdata\local\programs\python\python35\lib\runpy.py",
line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\caitling\appdata\local\programs\python\python35\lib\runpy.py",
line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\CaitlinG\AppData\Local\Programs\Python\Python35\Scripts\jupyter
-notebook.exe\__main__.py", line 5, in <module>
  File "c:\users\caitling\appdata\local\programs\python\python35\lib\site-packag
es\notebook\notebookapp.py", line 31, in <module>
    from zmq.eventloop import ioloop
  File "c:\users\caitling\appdata\local\programs\python\python35\lib\site-packag
es\zmq\__init__.py", line 37, in <module>
    _libzmq = ctypes.cdll.LoadLibrary(bundled[0])
  File "c:\users\caitling\appdata\local\programs\python\python35\lib\ctypes\__in
it__.py", line 425, in LoadLibrary
    return self._dlltype(name)
  File "c:\users\caitling\appdata\local\programs\python\python35\lib\ctypes\__in
it__.py", line 347, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found  

我使用的是Windows 10和Python 3.5.2。我通过以下方式安装了软件包及其依赖项:pip3 install&#34; ipython [notebook]&#34; --upgrade

前面提到的过程没有发生任何事故,但我很困惑为什么问题出现了。

感谢。

1 个答案:

答案 0 :(得分:3)

这似乎与pyzmq 15.3有关。安装以前的版本对我有用:

pip install pyzmq==15.2

请参阅: https://github.com/jupyter/help/issues/62

祝你好运!