https://dev.mysql.com/downloads/connector/python/python
到上述地址下载对应系统的驱动程序安装便可。mysql
安装mysqlclient方法以下:sql
https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-pythonblog
pip install mysqlclient‑1.3.13‑cp36‑cp36m‑win_amd64.whlip