参考https://www.cnblogs.com/wupeiqi/articles/5713330.html
https://pypi.python.org/pypi
# D:Program FilesPython35Scripts
pip3 install pymysql
#若无法安装则:在 pip命令后自己设定收集源(-i +url)
pip install pymysql -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
# 下载本地
# 解压到执行目录
# python2,默认无pip命令
# python3,默认自带pip3命令升级 python3 -m pip install --upgrade pip
若在pycham中报:ModuleNotFoundError: No module named 'pymysql'
则如下进行:
https://www.cnblogs.com/ly-520/archive/2019/06/13/11015685.html