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

第一种情况: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)问题解决_第1张图片

 

 

jupyter notebook Traceback (most recent call last)问题解决_第2张图片

 

第二种情况: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
    from notebook.notebookapp import main
  File "C:\anaconda\lib\site-packages\notebook\notebookapp.py", line 46, in
    from zmq.eventloop import ioloop
  File "C:\anaconda\lib\site-packages\zmq\__init__.py", line 47, in
    from zmq import backend
  File "C:\anaconda\lib\site-packages\zmq\backend\__init__.py", line 40, in
    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
    _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
    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)问题解决_第3张图片

jupyter notebook Traceback (most recent call last)问题解决_第4张图片 jupyter notebook运行开启成功。

你可能感兴趣的:(pyspark学习,python学习)