cmd命令使用pip报错:Fatal error in launcher: Unable to create process using

时间:2024-03-16 11:05:02

cmd命令使用pip报错:Fatal error in launcher: Unable to create process using

原本电脑安装过python3.8.2,后来卸载安装python3.7.2发现使用pip会有报错:cmd命令使用pip报错:Fatal error in launcher: Unable to create process using
我尝试了一些搜索到的解决方案:
1、python -m pip install --upgrade pip升级pip
2、点击python3.7.2的安装包选择第二项进行修复(如果 修复过程中遇到了错误,可以先关闭,再右击鼠标以管理人员身份运行)
以上两种方案都无法解决

最后,我手动修改了环境变量,完美解决了Fatal error in launcher: Unable to create process using报错问题。

具体修改过程

1、点击属性cmd命令使用pip报错:Fatal error in launcher: Unable to create process using
2、进入高级系统设置cmd命令使用pip报错:Fatal error in launcher: Unable to create process using
3、点击环境变量cmd命令使用pip报错:Fatal error in launcher: Unable to create process using
4、找到Path,双击进入cmd命令使用pip报错:Fatal error in launcher: Unable to create process using
5、修改为正确的路径,依次点击确定cmd命令使用pip报错:Fatal error in launcher: Unable to create process using