Python error: command '…\Microsoft Visual Studio 10.0\\VC\\BIN\\cl.exe' failed with exit status 2

后端 未结 4 683
攒了一身酷
攒了一身酷 2020-12-15 19:14

I have some problems with python 3 module installing. I\'m trying to install mysql using pip :

python -m pip install mysql

for python 3.4.4

4条回答
  •  情话喂你
    2020-12-15 20:03

    Go to this site and download whl file (for example python3.7 and win64 should use mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl).

    Then run this command:

    python -m pip install C:\Users\%USER%\Desktop\mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl
    

提交回复
热议问题