How to install python2.6-devel package under CentOs 5

后端 未结 3 1276
你的背包
你的背包 2020-12-18 01:56

I need to install mysql-python under python2.6. mysql-python package needs python2.6-devel package that depends on the libpython2.6.so.1.0(64bit) I found on the net some py

3条回答
  •  独厮守ぢ
    2020-12-18 02:28

    Actually you don't have to follow all steps in the article http://blog.milford.io/2010/08/new-method-for-installing-python-2-6-4-with-mysql-python-on-centos-5-5/. Just build python2.6(+) from source will solve the problem, i.e., don't rely on yum. If you have python26 installed by yum, you can remove it first(and python26-devel too), and re-install python2.6 from source, then setuptools, and finally MySQL-python.

    The following link may help: http://blog.csdn.net/inte_sleeper/archive/2011/06/20/6556103.aspx

提交回复
热议问题