6

I'm trying to install Pandar but I can't get pandas to install on my linux Centos 6.4.

Running pip install pandas leads to this error:

gcc: error trying to exec 'cc1plus': execvp: No such file or directory
error: command 'gcc' failed with exit status 1

What should I do to fix this?

jub0bs
  • 60,866
  • 25
  • 183
  • 186
Filip Korngut
  • 207
  • 1
  • 3
  • 10

2 Answers2

6

Im pretty sure thats a compiler error, so try installing g++ on the system

if you are working on linux, run this.

sudo apt-get install g++
Ethaan
  • 11,291
  • 5
  • 35
  • 45
0

or if you have a CentOS system, you might want to install gcc, gcc-c++

$ yum install gcc gcc-c++

Then install pandas using pip

$ pip install pandas
iamauser
  • 11,119
  • 5
  • 34
  • 52