2013-12-16 75 views

回答

0

你的python是2.4.3你需要更新它。這個任務對於每個linux發行版都是不同的。

POSIX有一些C++源代碼,將由節點GYP建立和節點GYP確實需要蟒蛇2.5或2.6或2.7,但不3.x中

閱讀你的錯誤消息,瞭解更多詳情。


打開終端,然後複製粘貼這些命令

sudo wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm 
sudo wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm 
sudo rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm 
sudo yum install python26 

我現在DONOT使用centos5,我不知道,如果它工作或沒有。

+0

嗯,你知道我該如何更新python嗎? – user2997295

+0

我正在使用Centos 5.11 – user2997295

+0

我試過,它已成功完成,但是當我檢查ptyhon版本時,它仍然對我說有2.4.3 – user2997295