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 安装模块了

目录
相关文章
|
4月前
|
Android开发
【Bug】Android resource linking failed和error: failed linking references.
【Bug】Android resource linking failed和error: failed linking references.
|
3月前
|
Python
【Python3报错】Fatal error in launcher: Unable to create process using ……
【Python3报错】Fatal error in launcher: Unable to create process using ……
|
Android开发 Java
Android Studio 解决 Error:Unable to start the daemon process.
异常 Error:Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon.
2590 0
|
4月前
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
|
Java
Error: A JNI error has occurred, please check your installation and try again
Error: A JNI error has occurred, please check your installation and try again
186 0
|
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
1061 0
OCI runtime exec failed: exec failed: unable to start container process: exec: "mongo": executable file not found in $PATH: unknown
|
Go iOS开发
The operation couldn’t be completed. Unable to log in with account 'myappleid'. An unexpected failure occurred while logging in (Underlying error code 1100).解决方法
The operation couldn’t be completed. Unable to log in with account 'myappleid'. An unexpected failure occurred while logging in (Underlying error code 1100).解决方法
426 0
|
Python
Python编程:Fatal error in launcher: Unable to create process
Python编程:Fatal error in launcher: Unable to create process
212 0