You are using pip version 8.1.1, however version 10.0.1 is available. You should consider upgrading via the ‘pip install –upgrade pip’ install。
Upgrade PIP3
1. Input upgrade command
sudo pip3 install –upgrade pip
Note: if you only do this step, an error will still be reported in the next installation. The error is about: cannot import name ‘main’. So you need to modify the/usr/bin/PIP3 file, see Step 2.
2. Modify the configuration file
sudo gedit /usr/bin/pip3
Change to read as follows (last line and penultimate line)
#!/usr/bin/python3
# GENERATED BY DEBIAN
import sys
# Run the main entry point, similarly to how setuptools does it, but because
# we didn't install the actual entry point from setup.py, don't use the
# pkg_resources API.
from pip import __main__
if __name__ == '__main__':
sys.exit(__main__.main())
Read More:
- Mac Upgrade pip WARNING: You are using pip version 21.1.1; however, version 21.1.3 is available. You s
- Mac upgrade pip
- Solve the problem of unable to locate package python3.6 when upgrading from python3.5 to python3.6 in ubantu16.04
- pygobject pip3 upgrade problem: ERROR: Failed building wheel for pycairo
- Python installation tutorial
- Raspberry pie upgrade to Python 3.7.3
- How to Fix Error in python3 | PIP install Dlib
- Error encountered while executing PIP install: error: complete output from command Python setup.py egg_ info:
- Essay (19) Ubuntu 16 + python2.7 update PIP report error no module named typing
- Solution: PIP install MySQL Python has the following problems
- Importerror: no module named typing error reporting solution (python2 PIP needs to be backed back from 21)
- (Copy python package, the problem generated) pip Fatal error in launcher: Unable to create process using
- Solution: ubantu has an internal error
- The Python PIP installation module prompts the error failed to create process
- Error: option –single-version-externally-managed not recognized when python pip installs third-party libraries
- Configuration (9) to solve the problem of “setup tools PIP wheel failed with error code 1”, create virtual environments with Python of anaconda
- CONDA upgrade command: upgrade CONDA, anaconda and various packages
- python3 (pip3 install threading: ERROR: Cloud not find a version that satisfies the requirement ..)
- Solve the problem of Python in Windows environment: Fatal error in launcher: Unable to create process using’”‘ in pip installation
- CentOS solves the problem of modulenotfounderror when salt calls python3 script remotely, and solves the problem that PIP3 module cannot be shared by different users