Anaconda打开jupyter notebook报错

win7的系统安装了anaconda后打开jupyter notebook报错

line 547, in write_connection_file
kernel_name=self.kernel_name
File "C:\Users\Lemuel\AppData\Roaming\Python\Python37\site-packages\jupyter_client\connect.py", line 212, in write_connection_file
with secure_write(fname) as f:
File "C:\Users\Lemuel\Anaconda3\lib\contextlib.py", line 112, in enter
return next(self.gen)
File "C:\Users\Lemuel\AppData\Roaming\Python\Python37\site-packages\jupyter_client\connect.py", line 100, in secure_write
win32_restrict_file_to_user(fname)
File "C:\Users\Lemuel\AppData\Roaming\Python\Python37\site-packages\jupyter_client\connect.py", line 53, in win32_restrict_file_to_user
import win32api
ImportError: DLL load failed: %1 is not a valid Win32 application.

please help me. thanks

针对这个问题打开anaconda自带的prompt,运行

conda install pywin32

猜你喜欢

转载自www.cnblogs.com/zmichael/p/12219665.html