如何解决Spyder 3.7中控制台中的内核错误

我最近尝试在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并重新安装,但相同的错误不断出现... 有人知道我该如何解决吗?

qq775008 回答:如何解决Spyder 3.7中控制台中的内核错误

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3011848.html

大家都在问