Python 使用easy_install时出现安装错误
我在LinuxMandriva中安装了EdgewallTrac0.11,我需要一个模块setuptools-0.6c11-py2.5.egg用于Python2.5 当我运行以下命令时:Python 使用easy_install时出现安装错误,python,linux,trac,Python,Linux,Trac,我在LinuxMandriva中安装了EdgewallTrac0.11,我需要一个模块setuptools-0.6c11-py2.5.egg用于Python2.5 当我运行以下命令时: sh setuptools-0.6c11-py2.5.egg 我得到一个错误: error: Invalid Python installation: unable to open /usr/lib/python2.5/config/Makefile (No such file or directory)
sh setuptools-0.6c11-py2.5.egg
我得到一个错误:
error: Invalid Python installation:
unable to open /usr/lib/python2.5/config/Makefile (No such file or directory)
我按照这里的描述做:
我可以指定安装路径:
sh setuptools-0.6c11-py2.5.egg --install-dir /var/setuptool
但同样的错误也发生了
我做错了什么?另一种选择是尝试使用以下工具安装
setuptools
的Mandriva软件包:
$ yum install python-setuptools
比简单安装好,所以使用它吧 您正在运行的Python版本是什么?你确定是2.5吗?看起来很旧。你应该升级你的python版本,我相信mandriva有rpm for 2.7.x。请不要从这么古老的Trac版本开始!现在我们已经有了1.0,你真的应该用它来启动每个新的应用程序,因为对于Trac本身来说,对0.11的支持是不存在的。它已经被Trac 0.12淘汰多年了。只有插件支持仍然很强大,迟早也会消失。