Python 3.x 如何解决spyder 3.7中控制台中的内核错误

Python 3.x 如何解决spyder 3.7中控制台中的内核错误,python-3.x,error-handling,anaconda,spyder,Python 3.x,Error Handling,Anaconda,Spyder,我最近尝试在Spyder 3.7中运行我的代码,我的Ipython控制台显示以下错误,我的所有代码都是这样: An error ocurred while starting the kernel The error is: Traceback (most recent call last): File "C:\Users\20191881\AppData\Local\Continuum\anaconda3\lib\site‑packages\spyder\plugins\ipythoncon

我最近尝试在Spyder 3.7中运行我的代码,我的Ipython控制台显示以下错误,我的所有代码都是这样:

An error ocurred while starting the kernel

The error is:

Traceback (most recent call last):
File "C:\Users\20191881\AppData\Local\Continuum\anaconda3\lib\site‑packages\spyder\plugins\ipythonconsole.py", line 1572, in create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr_handle)
File "C:\Users\20191881\AppData\Local\Continuum\anaconda3\lib\site‑packages\jupyter_client\manager.py", line 240, in start_kernel
self.write_connection_file()
File "C:\Users\20191881\AppData\Local\Continuum\anaconda3\lib\site‑packages\jupyter_client\connect.py", line 547, in write_connection_file
kernel_name=self.kernel_name
File "C:\Users\20191881\AppData\Local\Continuum\anaconda3\lib\site‑packages\jupyter_client\connect.py", line 212, in write_connection_file
with secure_write(fname) as f:
File "C:\Users\20191881\AppData\Local\Continuum\anaconda3\lib\contextlib.py", line 112, in __enter__
return next(self.gen)
File "C:\Users\20191881\AppData\Local\Continuum\anaconda3\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\\20191881\\AppData\\Roaming\\jupyter\\runtime\\kernel�caf3ec3.json'
我对spyder很陌生,我完全不知道如何解决这个问题。 我已经尝试卸载anaconda并再次安装,但相同的错误不断出现。。。
有人知道我如何解决这个问题吗?

(这里是Spyder维护人员)请关闭Spyder,打开Anaconda提示符,然后在那里运行
conda update--all
。那会解决你的问题的。谢谢!这就解决了问题!(此处为Spyder maintainer)请关闭Spyder,打开Anaconda提示符并在那里运行
conda update--all
。那会解决你的问题的。谢谢!这就解决了问题!