Fatal error in launcher:Unable to create process using

简介: Windows 下同时存在 Python2 和 Python3 使用 pip 时系统报错:`Fatal error in launcher: Unable to create process using '"'` 的解决方案

Windows 下同时存在 Python2 和 Python3 使用 pip 时系统报错:Fatal error in launcher: Unable to create process using '"' 的解决方案

Windows 下 Python3 和 Python2 共存环境

用 pip 安装一个包
执行 pip2 install xxx 的时候报错

Fatal error in launcher: Unable to create process using '"'

执行 pip3 install xxx 的时候报同样的错误

Fatal error in launcher: Unable to create process using '"'

解决办法-改用如下命令:

# Python2 安装:
python2 -m pip install XXX
# Python3 安装
python3 -m pip install XXX

这样就可以正常使用 pip 安装模块了

目录
相关文章
|
6月前
|
Python
【Python3报错】Fatal error in launcher: Unable to create process using ……
【Python3报错】Fatal error in launcher: Unable to create process using ……
100 1
|
7月前
An unexpected error was encountered while executing a WSL command. Common causes include access righ
An unexpected error was encountered while executing a WSL command. Common causes include access righ
|
Java Maven Android开发
成功解决FATAL ERROR in native method: JDWP on getting class status, jvmtiError=JVMTI_ERROR_WRONG_PHASE
成功解决FATAL ERROR in native method: JDWP on getting class status, jvmtiError=JVMTI_ERROR_WRONG_PHASE
|
NoSQL MongoDB 数据安全/隐私保护
OCI runtime exec failed: exec failed: unable to start container process: exec: "mongo": executable file not found in $PATH: unknown
OCI runtime exec failed: exec failed: unable to start container process: exec: "mongo": executable file not found in $PATH: unknown
1155 0
OCI runtime exec failed: exec failed: unable to start container process: exec: "mongo": executable file not found in $PATH: unknown
ERROR node.Application: A fatal error occurred while running
ERROR node.Application: A fatal error occurred while running
|
Python
Python编程:Fatal error in launcher: Unable to create process
Python编程:Fatal error in launcher: Unable to create process
229 0