When using pip to install modules in
python, the following message appears: fatal error in launcher: unable to create process using ‘”‘
appearsreason: PIP may be installed in many places in the system, and all of them are added to the environment variables
in the systemsolution:
1. Check whether the path of PIP command is repeated: CMD command: where pip, there are multiple paths as follows
1
2. Copy the environment variable path to TXT, remove the unnecessary related path, save it, reopen the console, and use PIP again to install
2multi version PIP usage:
if you really need to have multiple pips in the environment, for example, if you have installed python2 and python3 at the same time, you can refer to the following method to install
with the pip of the specified version of Pythonpython2 -m pip install xxx
or
python3 -m pip install xxx
ultimate solution:
reason: it needs to be used like this in Windows environment, – I don’t understand the reason, and the Python – M instruction can’t find the exact meaning
eitherthere are also hints that it’s a problem with the PIP version. Just update the pip to the latest version. The update command is “Python – M PIP install — upgrade PIP”
reference source:
A B
Similar Posts:
- The solution of “the windows SDK version for 8.1 was not found” in vs2017 C + + compilation
- ImportError: Couldn’t import Django [How to Solve]
- [Solved] 64-bit Python calls 32-bit Oracle client error: Cx_Oracle.DatabaseError: DPI-1047
- Django exception-ImportError: No module named django.core.management
- PIP Python package succeeds, but an error is reported when importing
- Windows: PIP Install error: Microsoft Visual C++ 9.0 is required Unable to find vcvarsall.bat
- [Solved] Python installation error: One or more issues caused the setup to fail.
- [Solved] Node.js: Python not found exception due to node-sass and node-gyp
- [Solved] Ubantu18.04 Use APT to install Go environment instruction Error
- ImportError: No module named ‘requests’