Home > Back-end >  Getting error on installing a python package regarding mysqlclient
Getting error on installing a python package regarding mysqlclient

Time:10-13

I am currently working on a new project. Trying to install the requirements using pip but getting this error. Using python version 3.6.9

This is the error message I am getting.

Collecting en-core-web-sm@ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.4.0/en_core_web_sm-3.4.0-py3-none-any.whl
  Downloading https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.4.0/en_core_web_sm-3.4.0-py3-none-any.whl (12.8 MB)
     |████████████████████████████████| 12.8 MB 5.9 MB/s            
ERROR: mysqlclient-1.4.6-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.

Any help would be highly appreciated and thank you in advance to anyone who looks into this.

CodePudding user response:

Check out this answer (Error "filename.whl is not a supported wheel on this platform"),make sure that the version of Cpython corresponds with CP.

CodePudding user response:

You need to install a different version of the mysqlclient wheel that is compatible with your version of Python.

CodePudding user response:

You can download Visual C build tools, then you should be able to install every version of mysqlclient with pip, try it

  • Related