cenots7 下安装PyMySQL

#wget https://files.pythonhosted.org/packages/44/39/6bcb83cae0095a31b6be4511707fdf2009d3e29903a55a0494d3a9a2fac0/PyMySQL-0.8.1.tar.gz

# tar -zxvf PyMySQL-0.8.1.tar.gz

# python setup.py install

# python

Python 2.7.5 (default, Apr 11 2018, 07:36:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pymysql >>> pymysql.VERSION (0, 8, 1, None)

posted on 2021-02-04 13:52  范兵  阅读(83)  评论(0编辑  收藏  举报

导航