无法安装Pandas!救命!(pip安装熊猫)

Fil*_*gut 6 python linux centos pip pandas

我正在尝试安装Pandar,但我无法在我的Linux Centos 6.4上安装pandas.

运行pip install pandas导致此错误:

gcc: error trying to exec 'cc1plus': execvp: No such file or directory
error: command 'gcc' failed with exit status 1
Run Code Online (Sandbox Code Playgroud)

我该怎么做才能解决这个问题?

Eth*_*aan 6

我很确定这是一个编译器错误,所以尝试g++在系统上安装

如果您正在使用Linux,请运行此命令.

sudo apt-get install g++
Run Code Online (Sandbox Code Playgroud)