Failed building wheel for mysql-python解决办法

出错信息如下:

Command "c:\users\june\envs\vueshop\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\June\\AppData\\Local\\Temp\\pip

-install-y_owp3eg\\mysqlclient\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compi
le(code, __file__, 'exec'))" install --record C:\Users\June\AppData\Local\Temp\pip-record-1j4yv2ch\install-record.txt --single-version-externa
lly-managed --compile --install-headers c:\users\june\envs\vueshop\include\site\python3.6\mysqlclient" failed with error code 1 in C:\Users\Ju

ne\AppData\Local\Temp\pip-install-y_owp3eg\mysqlclient\

在这个网址中,可以下载相应的包


打开终端,安装


就安装成功了。


猜你喜欢

转载自blog.csdn.net/qq_29784441/article/details/80847771