1, install Python3 is mainly version problem, with 3.6 better than 3.7
Error Modulenotfounderror:no module named ' _ctypes '
Https://www.cnblogs.com/Mr-wangxd/p/7028285.html
2, there have been error pkg_resources when installing Pip . Distributionnotfound:the ' pip==7.1.0 ' distribution was wasn't found and is ....
A few times toss, still accidentally put a lot of original Python deleted, this is really wrong operation!
python-m pip uninstall pip Setuptools again reload, or not, just
The main is to put the first ls-l to see its soft connection there.
ls-l grep python
Ls-l grep pip
Ln-s/usr/python/bin/python3/usr/bin/python
ln-s/usr/python/bin/pip3/usr/bin/pip When I correctly point to the PIP3 in the new Python3 directory, it is correct and there is no version problem.
Key commands:
python-m pip uninstall pip Setuptoolspip install --upgrade setuptools
Python-m pip--version This check version, on this error, important
centos7.2, the system comes with python2.7. When upgrading to Python3, import Sqlite3 appears no module named _sqlite3 workaround
76380802
Summary of Python environment issues in the CentOS configuration