我的spyder中出现错误,提示“启动内核时发生错误”

时间:2020-07-06 09:53:13

标签: anaconda spyder

[IPKernelApp]错误|无法加载连接文件:

'/Users/macintosh/Library/Jupyter/runtime/kernel‑f2a928b717a0.json'
Traceback (most recent call last):
File

"/Users/macintosh/opt/anaconda3/lib/python3.7/site‑packages/ipykernel/kernelapp.py", line 252, in init_connection_file
self.load_connection_file()
File

"/Users/macintosh/opt/anaconda3/lib/python3.7/site‑packages/jupyter_client/connect.py", line 498, in load_connection_file
info = json.load(f)

AttributeError: module 'json' has no attribute 'load'

但是,每次我尝试打开Spyder时,都会出现一个错误窗口,提示“在当前会话中无法完成Python文件编辑器的完成和插入操作,或者会停止工作。

要解决此问题,请确认您的防火墙或防病毒软件允许Python进程打开系统中的端口或重新启动Spyder”。

我确实重新安装了anaconda,但问题仍然存在。

0 个答案:

没有答案