So eventually download PIP - 20.2.4. Tar. Gz source package installation, also easy to install, after decompression
Python setup. Py build
Python setup. Py install
Smoothly without an error, then look more Scripts directory below PIP. Exe
2, the use of PIP install virtualenv and error
C: \ Python27 \ lib \ site - packages \ PIP - 20.2.4 - py2.7. Egg \ PIP \ _vendor \ urllib3 \ util \ ssl_ py: 142: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from You SSL appropriately and may cause certain SSL connections to fail. You can upgrade to A newer version of Python to solve This. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning,
WARNING: Retrying (Retry (total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError (" HTTPSConnectionPool (host=' pypi.org ', the port=443) : read timed out. (read timeout=100.0) ",) ':/simple/flask/
3, baidu to find the solution, using a mirror image of domestic source, successful,
PIP install virtualenv -i https://pypi.tuna.tsinghua.edu.cn/simple
After four, creating virtual environment
C: \ Python27 & gt; Scripts \ virtualenv. Exe tongbao
CodePudding user response:
Installing MySQLdb error again,PIP instal PIP install MySQL - python failure, can only download MySQL_python 1.2.5 - cp27 - none - win_amd64. WHL, perform
PIP install MySQL_python 1.2.5 - cp27 - none - win_amd64. WHL installation is successful,