Python 无法安装熊猫!救命啊!(pip安装)
我正在尝试安装Pandar,但无法在我的linux Centos 6.4上安装pandas 运行Python 无法安装熊猫!救命啊!(pip安装),python,linux,pandas,centos,pip,Python,Linux,Pandas,Centos,Pip,我正在尝试安装Pandar,但无法在我的linux Centos 6.4上安装pandas 运行pip安装会导致此错误: gcc: error trying to exec 'cc1plus': execvp: No such file or directory error: command 'gcc' failed with exit status 1 我应该怎么做才能解决这个问题?我很确定这是一个编译器错误,所以请尝试在系统上安装g++ 如果您正在linux上工作,请运行此命令 sudo
pip安装会导致此错误:
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
error: command 'gcc' failed with exit status 1
我应该怎么做才能解决这个问题?我很确定这是一个编译器错误,所以请尝试在系统上安装g++
如果您正在linux上工作,请运行此命令
sudo apt-get install g++
或者,如果您有CentOS系统,您可能需要安装gcc
,gcc-c++
$ yum install gcc gcc-c++
然后使用pip
$ pip install pandas
是的,我已经安装了gcc。@FilipKorngut你看了吗?是的,刚刚看到评论。正在尝试。我安装了g++,但与我的gcc版本不同。升级我的g++以匹配我的gcc为我修复了它。