启动内核OSError时出错:[WinError 193]%1不是有效的Win32应用程序

时间:2019-09-09 15:50:25

标签: python python-3.x anaconda

今天早晨当我尝试打开anaconda导航器时,收到消息“此应用程序无法在您的PC上运行”

我能够从conda提示符中打开导航器,然后从那里打开spyder,但是当spyder加载时,我会收到此错误

An error ocurred while starting the kernel

错误是:

Traceback (most recent call last):
File 
"C:\tools\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:\tools\Anaconda3\lib\site‑packages\jupyter_client\manager.py", 
line 259, in start_kernel**kw)
File "C:\tools\Anaconda3\lib\site‑packages\jupyter_client\manager.py", 
line 204, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)
File "C:\tools\Anaconda3\lib\site‑packages\jupyter_client\launcher.py", 
line 138, in launch_kernel
proc = Popen(cmd, **kwargs)
File "C:\tools\Anaconda3\lib\subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "C:\tools\Anaconda3\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
OSError: [WinError 193] %1 is not a valid Win32 application

我知道显而易见的答案是只重新安装anaconda,但我对此完全感到困惑。前几天,我在使用Anaconda,关闭了我的电脑,并在今天早上打开了电脑,这发生了。

我看到遇到此问题的其他人解决了该问题,但更新了anaconda及其导航器,因此我在conda提示符下做到了,但似乎没有帮助

0 个答案:

没有答案