https://dev.mysql.com/downloads/connector/python/
到上述地址下载对应系统的驱动程序安装即可。
安装mysqlclient方法如下:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python
pip install mysqlclient‑1.3.13‑cp36‑cp36m‑win_amd64.whl
https://dev.mysql.com/downloads/connector/python/
到上述地址下载对应系统的驱动程序安装即可。
安装mysqlclient方法如下:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python
pip install mysqlclient‑1.3.13‑cp36‑cp36m‑win_amd64.whl
转载于:https://www.cnblogs.com/OnlyDreams/p/9473904.html