一、安装easy_install

参考文章:

http://www.cnblogs.com/huangjacky/archive/2012/03/28/2421866.html

安装

wget https://bootstrap.pypa.io/ez_setup.py -O - | python  

安装到了默认的python2.6.6版本里面【如果是2.7.5的版本呢,参考最下面的参考文章】

测试是否安装成功easy_install

easy_install Twisted

二、python进入安装mysql

easy_install MySQL-Python

 

三、检测

python进入

import MySQLdb

没出现错误

 

 

参考文章:http://www.linuxeye.com/Linu

相关文章:

  • 2021-06-09
  • 2022-01-07
  • 2021-05-30
  • 2022-12-23
  • 2022-02-24
  • 2022-02-07
  • 2021-12-04
猜你喜欢
  • 2021-11-29
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2022-03-03
相关资源
相似解决方案