centos安装python ./configure --prefix=/usr/local/python3失败
checking build system type... x86_64-pc-linux-gnuchecking host system type... x86_64-pc-linux-gnuchecking for python3.8... nochecking for python3... nochecking for python... pythonchecking for --enabl
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for python3.8... no
checking for python3... no
checking for python... python
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... "linux"
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/local/Python-3.8.0':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
出现该问题是因为系统命令cc不存在,安装gcc就可以。
yum install -y gcc
更多推荐
所有评论(0)