Unable to install mysqlclient Python package on Windows

后端 未结 3 1516
[愿得一人]
[愿得一人] 2020-12-19 16:14

I am trying to install the mysqlclient Python package (https://pypi.python.org/pypi/mysqlclient) into a virtual Python 2.7 environment on Windows 7 (on a local

3条回答
  •  不思量自难忘°
    2020-12-19 16:58

    download mysqlclient from http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python

    choose the version matching your python version, example mysqlclient‑1.4.2‑cp37‑cp37m‑win_amd64.whl, and then:

    pip install wheel
    
    pip install mysqlclient‑1.4.2‑cp37‑cp37m‑win_amd64.whl
    

提交回复
热议问题