繁体   English   中英

Windows 11卸载Python 3.9,安装3.11.1:启动器中出现致命错误:无法使用..创建进程系统找不到指定的文件

[英]Windows 11 uninstall Python 3.9, install 3.11.1: Fatal error in launcher: Unable to create process using .. The system cannot find the file specified

Windows 11 卸载 Python 3.9,然后安装 Python 3.11.1:启动器中出现致命错误:无法使用创建进程

D:\temp20221103>jupyter lab
Fatal error in launcher: Unable to create process using '"C:\Users\donhu\AppData\Local\Programs\Python\Python39\python.exe"  "C:\Users\donhu\AppData\Local\Programs\Python\Python39\Scripts\jupyter.exe" lab': The system cannot find the file specified.


D:\temp20221103>

在此处输入图像描述

完整日志https://gist.github.com/donhuvy/98ca21f22a5abc7b7922143054eed7e2#file-python_console-log-L92 怎么修?

当我在 Windows 资源管理器中查找文件jupyter-lab.exe时,运行它,它可以工作。 但这种方式很不方便。

在此处输入图像描述

在 Windows 资源管理器中,我仍然看到 Python 3.9

在此处输入图像描述

问题是当调用命令jupyter lab时,它会在错误的文件夹中查找。 如何解决?

里面

C:\Users\donhu\AppData\Local\Programs\Python

删除Python39Python310中的文件夹和所有子文件夹/文件。 保留文件夹Python311

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM