2015-11-03 150 views
0

我知道已經有與此有關的問題,並且大多數已通過安裝libfreetype6-devlibpng-dev解決。我已經安裝了使用apt-get的這些庫的,但試圖利用使用pip安裝matplotlib時出錯

pip install matplotlib 

我得到的錯誤是,當我還是想出了一個錯誤:

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

回答

0

萬一你遇到更多的問題,你可能需要安裝Anaconda 這是許多Python的庫管理的依賴關係,並提供一站式服務包括mathplotlib。

+0

我安裝了Anaconda,但重新安裝它工作。謝謝! –

0

看來你需要安裝G ++

sudo apt-get install g++ 
aptitude install g++