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

Andrey Nikishaev picture Andrey Nikishaev · Mar 30, 2010 · Viewed 20.7k times · Source

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 python2.6-devel packages, but can't find libpython2.6 Server architecture is x86_64.

Maybe someone have this lib, or know where i can find it.

Thanks for help)

Answer

gpasse picture gpasse · Jun 26, 2012

On CentOS 6.2, I solved the problem by finding the right version of the python-devel :

yum search python | grep -i devel

Then I installed :

yum  install python-devel.x86_64

And :

easy_install psycopg2