为了在Redhat上运行yum,我下载了CentOS的yum包,提示:
error: Failed dependencies:
python(abi) = 2.6 is needed by python-iniparse-0.3.1-2.1.el6.noarch
后我下载python2.6提示:
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -DSVNVERSION=\"LC_ALL=C svnversion .
\" -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c
gcc: error: directory": No such file or directory
Linux刚刚起步,望大神予以解答!
py2.6太老了,建议安装py2.7或者3.6。如果非要安装2.6,你需要卸载重新安装一大堆不兼容的东西。