转自:http://my.oschina.net/zhangdapeng89/blog/53644
我的linux系统:centos5.5
我要升级的版本是:2.7.3(目前我更新操作的最新版本【是在2这个系列中的,你也可以安装3系列的】)
升级python的步骤
参考资料如下:
http://liluo.org/2010/08/centos-5-5-%E4%B8%AD-python-%E5%8D%87%E7%BA%A7%E5%88%B0-2-6-5/
1、下载
转自:http://bbs.chinaunix.net/thread-3581430-1-1.html
make python时有问题:
。。。。。。
Python build finished, but the necessary bits to build these modules were not found:
_bsddb _sqlite3 _ssl
bsddb185 bz2 dbm
gdbm readline sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
running build_scripts。
请各位达人,帮给出详细的解决方案,我因为python引发的问题不会弄,重装了一遍。
说明缺少所列出的模块,可安装上后重新make
或者那些模块暂时不需要的话直接 make && make install