使用pip install MySQL-python 安装报错“Microsoft Visual C++ 14.0 is required”
解决办法
在此网站直接下站安装文件 然后本地指定文件安装
pip install C:\User\win10\Desktop\MySQL_python-1.2.5-cp27-none-win_amd64.whl
安装的时候我们发现又会报一个错误
MySQL_python-1.2.5-cp27-none-win_amd64.whl is not a supported wheel on this platform.
此时我们只需要将文件名中的cp27改成cp36再此执行上步安装就可以啦~
(flask) C:\User\win10\Desktop>pip install MySQL_python-1.2.5-cp36-none-win_amd64.whl
Processing C:\User\win10\Desktop\mysql_python-1.2.5-cp36-none-win_amd64.whl
Installing collected packages: MySQL-python
Successfully installed MySQL-python-1.2.5