||
sudo mv /usr/bin/python /usr/bin/python2.7
sudo ln -s /usr/bin/python3.6 /usr/bin/python
参考
http://www.cnblogs.com/tigerm/p/5794386.html
用安装python模块出现error: command 'gcc' failed with exit status 1 ,明明装了gcc的,怎么会不行呢,然后发觉是failed不是not found,这说明这个错误个gcc没多大关系,应该是缺少某些功能模块,然后谷歌了一下,先后安装了python-devel,libffi-devel后还是不行,最后发觉要安装openssl-devel才行
可如下命令行安装:
yum install gcc libffi-devel python3-devel openssl-devel
pip3 install numpy
pip3 install pyproj
yum install libsmbclient-devel
pip3 install pysmbc
error:
command
'gcc'
failed with
exit
status 1
yum remove audit #不懂为什么????
yum
install
gcc
yum
install
libxslt-devel libxml2-devel
pip3 install matplotlib
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-5-22 03:54
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社