Search code examples
pythonmysqlpython-3.xdjangopip

Getting error on installing a python package regarding mysqlclient


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.

Error log on - https://dpaste.org/U7F7g

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


Solution

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