Python 3.7, Failed building wheel for MySql-Python

前端 未结 11 1485
忘了有多久
忘了有多久 2020-12-14 08:53

I am new to python and I am trying django framework that involves some MySql and ran into this error when try to do pip install mysqlclient and down the lines o

11条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-14 09:15

    currently the mysql-connector for python 3.7 is not available in official wesite but u can fix this issue by installing wheel with specific windows and python version. this solutionpip install (ex/dir)/mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl for win 64-bi and python 3.7

    check the link below and download the specific wheel for your system. download and install the wheel for specific version by using "pip install (full path with file name in my case ex:-"pip install C:\Users\%user%\Downloads\mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl")

提交回复
热议问题