Python 3.x Spyder:启动内核时出错

Python 3.x Spyder:启动内核时出错,python-3.x,error-handling,anaconda,kernel,spyder,Python 3.x,Error Handling,Anaconda,Kernel,Spyder,在Spyder中启动内核时出错 错误是: Traceback (most recent call last): File "G:\Anaconda\lib\site‑packages\spyder\plugins\ipythonconsole.py", line 1572, in create_kernel_manager_and_kernel_client kernel_manager.start_kernel(stderr=stderr_handle) File "G:\Anaconda\l

在Spyder中启动内核时出错

错误是:

Traceback (most recent call last):
File "G:\Anaconda\lib\site‑packages\spyder\plugins\ipythonconsole.py", line 1572, in create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr_handle)
File "G:\Anaconda\lib\site‑packages\jupyter_client\manager.py", line 240, in start_kernel
self.write_connection_file()
File "G:\Anaconda\lib\site‑packages\jupyter_client\connect.py", line 547, in write_connection_file
kernel_name=self.kernel_name
File "G:\Anaconda\lib\site‑packages\jupyter_client\connect.py", line 212, in write_connection_file
with secure_write(fname) as f:
File "G:\Anaconda\lib\contextlib.py", line 112, in __enter__
return next(self.gen)
File "G:\Anaconda\lib\site‑packages\jupyter_client\connect.py", line 102, in secure_write
with os.fdopen(os.open(fname, open_flag, 0o600), mode) as f:
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\user\\AppData\\Roaming\\jupyter\\runtime\\kernel‑bd9c021b8392.json'
(此处为Spyder maintainer)要解决此问题,请打开Anaconda提示符并在那里运行

conda update --all

打开防火墙,以管理员身份运行spyder