启动python内核时发生错误_尝试打开Jupyter笔记本或Spyd时出现内核错误

在Windows10上使用Python3.7时,遇到Jupyter笔记本和Spyder启动时显示'内核错误'。尝试通过ipyconda3重新安装内核未解决问题。错误日志指出,问题可能与jupyter_client的连接文件写入权限和win32api导入失败有关。
摘要由CSDN通过智能技术生成

打开Jupyter笔记本或Spyder时,我不断收到“内核错误”通知。在

ipycondya3试图重新安装内核,但问题仍然存在。我在Windows10系统中下载了Python3.7。在

我在日志中得到以下错误。在

“>回溯(最近调用最后一次):文件

“>”C:\Users\AppData\Local\Continuum\anaconda3\lib\site‑packages\spyder\plugins\ipytho”nconsole.py“line 1572, in create_kernel_manager_and_kernel_client

kernel_manager.start_kernel(stderr=stderr_handle) File

"C:\Users\AppData\Roaming\Python\Python37\site‑packages\jupyter_client\manager.py",

line 240, in start_kernel self.write_connection_file() File

"C:\Users\AppData\Roaming\Python\Python37\site‑packages\jupyter_client\connect.py",

line 476, in write_connection_file kernel_name=self.kernel_name File

"C:\Users\AppData\Roaming\Python\Python37\site‑packages\jupyter_client\connect.py",

line 141, in write_connection_file with secure_write(fname) as f: File

"C:\Users\AppData\Local\Continuum\anaconda3\lib\contextlib.py", line

112, in enter return next(self.gen) File

"C:\Users\AppData\Roaming\Python\Python37\site‑packages\jupyter_core\paths.py",

line 404, in secure_write win32_restrict_file_to_user(fname) File

"C:\Users\AppData\Roaming\Python\Python37\site‑packages\jupyter_core\paths.py",

line 359, in win32_restrict_file_to_user import win32api ImportError:

DLL load failed: The specified procedure could not be found.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值