Failed building wheel for mysql-python解決辦法
阿新 • • 發佈:2019-02-05
出錯資訊如下:
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(compile(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\
在這個網址中,可以下載相應的包
開啟終端,安裝
就安裝成功了。