windows下Python安装pymysql
# 安装pymysql命令# 从github 下载pymysql 安装包# 下载地址:https://github.com/PyMySQL/PyMySQL
# 解压下载文件,不用打开python交互界面,cd到解压文件所在目录
# 运行 python setup.py install# 打开python交互界面,# 运行 import pymysql,如果不报错,说明安装成功!下面是安装截图如:我的下载文件解压位置为:C:\Users\ideayl\Downloads\PyMySQL-master\PyMySQL-masterhttp://images2015.cnblogs.com/blog/1025603/201704/1025603-20170402002807008-887589176.png输入 python setup.py install运行,最后会出现Finished dependencies…………运行python,输入import pymysqlhttp://images2015.cnblogs.com/blog/1025603/201704/1025603-20170402003148492-584669656.png没有报错,安装成功。
原文地址:http://www.cnblogs.com/snn0605/p/6658009.html
页:
[1]