How to install python27-devel on Centos 6.5

后端 未结 2 1854
暗喜
暗喜 2020-12-14 18:19

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 w

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-14 18:44

    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
    

提交回复
热议问题