0

当我进入时python -V它会显示python 2.4.3. ,但我想更改python 2.4.3python 2.7. 如果您有任何流程然后给我一个完整的流程>>>>>>>-bash-3.2$ ./configure

checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux2
checking EXTRAPLATDIR...
checking machine type as reported by uname -m... i686
checking for --without-gcc... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/var/chroot/home/content/33/11169633/python/Python-2.6.7':
configure: error: no acceptable C compiler found in $PATH

有关config.log更多详细信息,请参阅。

4

1 回答 1

1

安装 gcc 包解决了我的问题。

    yum install gcc
于 2017-04-10T20:56:07.063 回答