I have installed python 2.7.6 from source, but can't find how to install python-devel for python 2.7
yum install python27-devel
doesn't work. How to install it?
I have installed python 2.7.6 from source, but can't find how to install python-devel for python 2.7
yum install python27-devel
doesn't work. How to install it?
Thanks for your feedback. First of all, if you try to run yum install python27-devel
, then you should get the message like this:
No package python27-devel available
Then I followed this link,
yum search python | grep -i devel
This will show you that you have python-devel.x86_64
package available if your OS is a 64 bit OS. If I am correct, then the following command should work fine as shown in the accepted answer:
yum install python-devel.x86_64
I run Centos 6.5 on Virtualbox and this command solved it.
# yum update
# yum install centos-release-SCL
# yum install python27
./configure && make && make install
trinity, there is no python27-devel package available. CentOS 6.x does not have Python 2.7 included. If you want to build an .src.rpm or package that depends on Python 2.7 sources, you should make those sources include the sources/headers from your local install. Please also read CentOS notes on source installs