Last updated at 11:03:47, June 28, 2021
Every time you enter PIP related commands, there will be a line of yellow characters, prompting you to update pip to the latest version. Today, you can’t watch the update, and then you report a big error: Import error no module named typing
the reason is that pip21 and python2.7 do not match. The typing Library in the error report only appeared in python3.5, which is not available in python2.7
If I need to use ROS, I can only use python2.7 instead of updating the version. I can only use the old version of Pip to cover the current pip21, but now any command starting with PIP will report an error, so I can only use get-pip.py to implement the rollback version. Refer to the link: installing pip is not working in Python & lt; three point six
- curl -O https://bootstrap.pypa.io/pip/2.7/get-pip.py
- python get-pip.py
- python -m pip install --upgrade "pip < 21.0"
The third order here is unnecessary.
Read More:
- Importerror: no module named typing error reporting solution (python2 PIP needs to be backed back from 21)
- Processing method of PIP exception no module named ‘pip’
- Tensorflow operation report error modulenotfounderror: no module named ‘tensorflow. Python. Types’ solution
- AttAttributeError: module ‘typing‘ has no attribute ‘NoReturn‘
- Python:ImportError: No module named indexes.base
- No module named numpy error in Python code
- Error no module named ‘in newly installed Python_ sqlite3‘
- Error handling method of “no module named ‘stringio’” in Python 3
- About the problem of calling tools library by running Python program under Mac OS X, modulenotfoundererror: no module named ‘tools‘
- ImportError: No module named indexes.base
- Unable to call numpy in pychar, module notfounderror: no module named ‘numpy’
- Modulenotfounderror: no module named ‘CV2’ – (version problem)
- ModuleNotFoundError: No module named ‘MySQLdb‘
- Import error: no module named cryptography.hazmat.backends
- Module not found error: the solution to the problem of no module named ‘MySQL’
- ModuleNotFoundError: No module named ‘tensorflow_core.estimator‘
- Mmdet error modulenotfounderror: no module named ‘mmcv_ ext‘
- ModuleNotFoundError: No module named xxx
- Module not founderror: no module named ‘nets.ssd‘
- ModuleNotFoundError: No module named ‘apt_pkg‘