pip install https://pypi.douban.com/simple mysqlclient #数据库驱动
如果出现错误 Failed building wheel for mysqlclient
到 https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python
下载 mysqlclient?1.3.13?cp36?cp36m?win_amd64.whl
到下载目录打开cmd窗口 pip install mysqlclient?1.3.13?cp36?cp36m?win_amd64.whl
最后可以安装pip install https://pypi.douban.com/simple mysqlclient