jupyter notebook Traceback (most recent call last)问题解决

时间:2024-04-10 18:56:15

第一种情况:PermissionError: [WinError 5] 拒绝访问

参考: https://blog.csdn.net/qq_37765069/article/details/86940804

Traceback (most recent call last):
File"E:\anaconda\lib\site-packages\psutil_pswindows.py", line 63…………
File"E:\anaconda\lib\site-packages\psutil_pswindows.py", line 705…………
PermissionError: [WinError 5] 拒绝访问。

 

jupyter notebook Traceback (most recent call last)问题解决

 

 

jupyter notebook Traceback (most recent call last)问题解决

 

第二种情况:ImportError: DLL load failed: 找不到指定的模块。

参考:https://blog.csdn.net/lwgkzl/article/details/85202207#commentBox

c:\anaconda\Lib>jupyter notebook
Traceback (most recent call last):
  File "C:\anaconda\Scripts\jupyter-notebook-script.py", line 6, in <module>
    from notebook.notebookapp import main
  File "C:\anaconda\lib\site-packages\notebook\notebookapp.py", line 46, in <module>
    from zmq.eventloop import ioloop
  File "C:\anaconda\lib\site-packages\zmq\__init__.py", line 47, in <module>
    from zmq import backend
  File "C:\anaconda\lib\site-packages\zmq\backend\__init__.py", line 40, in <module>
    reraise(*exc_info)
  File "C:\anaconda\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
    raise value
  File "C:\anaconda\lib\site-packages\zmq\backend\__init__.py", line 27, in <module>
    _ns = select_backend(first)
  File "C:\anaconda\lib\site-packages\zmq\backend\select.py", line 27, in select_backend
    mod = __import__(name, fromlist=public_api)
  File "C:\anaconda\lib\site-packages\zmq\backend\cython\__init__.py", line 6, in <module>
    from . import (constants, error, message, context,
ImportError: DLL load failed: 找不到指定的模块。

 

pip uninstall pyzmq 
pip install pyzmq 
#注意是conda下面的pip

jupyter notebook Traceback (most recent call last)问题解决

jupyter notebook Traceback (most recent call last)问题解决 jupyter notebook运行开启成功。