pip3 install PyMysqlPool
第一个错,提示没有装c++ 14.0,下载安装报下一个错
error: Setup script exited with error: Microsoft Visual C++ 14.0 is required
https://support.microsoft.com/zh-cn/help/2977003/the-latest-supported-visual-c-downloads
然后提示缺少mysqlclient,下载安装,还是报错
https://www.lfd.uci.edu/~gohlke/pythonlibs/
最后找到一篇文章,说PyMysqlPool和pymysqlpool是有区别的,PyMysqlPool好像是python2里才能用的,之前我装的是PyMysqlPool,mmp
pymysqlpool下载地址
https://github.com/0xE8551CCB/pymysqlpool
解压,进入目录,python setup.py install
安装完成