MySQL_python‑1.2.5‑cp27‑none‑win_amd64.whl is not a valid wheel filename.

Why can’t you stop buying 618?From the technical dimension to explore>>>

Reprinted: https://blog.csdn.net/boahock/article/details/78701374

MySQL Python database driver installation
PIP install MySQL_ Python failure
does not support Windows operating system
solution:
download and install by yourself: http://www.lfd.uci.edu/~gohlke/pythonlibs/

PIP install installation error

Through print (PIP. Pep425tags. Get_ Supported ()) to view mysql_ python-1.2.5-cp27-none-win_ The file name format of amd64.whl is not supported. Force it to change a supported name before installing

 1 (flask-env) C:\pyenv\flask-env\Scripts>pip install C:\pyenv\flask-env\Scripts\MySQL_python-1.2.5-cp27-none-win_amd64.whl
 2 MySQL_python-1.2.5-cp27-none-win_amd64.whl is not a supported wheel on this platform.
 3 ---------------------------------------------------------------------------------------------------
 4 
 5 >>> import pip
 6 >>> print(pip.pep425tags.get_supported())
 7 [('cp36', 'cp36m', 'win_amd64'), ('cp36', 'none', 'win_amd64'), ('py3', 'none', 'win_amd64'), ('cp36', 'none', 'any'), ('cp3', 'none', 'any'), ('py36', 'none', 'any'), ('py3', 'none', 'any'), ('py35', 'none', 'any'), ('py34', 'none', 'any'), ('py33', 'none', 'any'), ('py32', 'none', 'any'), ('py31', 'none', 'any'), ('py30', 'none', 'any')]
 8 >>>
 9 
10 ------------------------
11 (flask-env) C:\pyenv\flask-env\Scripts>pip install MySQL_python-1.2.5-cp36-none-win_amd64.whl
12 Processing c:\pyenv\flask-env\scripts\mysql_python-1.2.5-cp36-none-win_amd64.whl
13 Installing collected packages: MySQL-python
14 Successfully installed MySQL-python-1.2.5

Similar Posts: