windows下python安装pymysql
1.下载地址:https://github.com/PyMySQL/PyMySQL
2.解压下载文件。运行cmd,cd到解压文件目录下,如图所示,我的下载文件解压位置为:C:\Users\ideayl\Downloads\PyMySQL-master\PyMySQL-master
3.运行 python setup.py install 最后会出现Finished dependencies…………
4.运行python,输入import pymysql