本文介紹了如何在 Centos 6.5 上安裝 python27-devel的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
我已經(jīng)從源代碼安裝了 python 2.7.6,但是找不到如何為 python 2.7 安裝 python-devel
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
不起作用.如何安裝?
推薦答案
感謝您的反饋.首先,如果你嘗試運行 yum install python27-devel
,那么你應該得到這樣的消息:
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
然后我按照這個 鏈接,
yum search python | grep -i devel
如果您的操作系統(tǒng)是 64 位操作系統(tǒng),這將顯示您有可用的 python-devel.x86_64
軟件包.如果我是正確的,那么以下命令應該可以正常工作,如接受的答案所示:
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
這篇關于如何在 Centos 6.5 上安裝 python27-devel的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!
【網(wǎng)站聲明】本站部分內容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯(lián)系我們刪除處理,感謝您的支持!