天天看点

gcc: error trying to exec 'cc1plus': execvp: 没有那个文件或目录 error: command 'gcc' failed with exit status

gcc: error trying to exec 'cc1plus': execvp: 没有那个文件或目录 error: command 'gcc' failed with exit status

根据网上查找的答案,安装了相关的依赖包,问题还是存在:

网上答案:

yum install gcc libffi-devel python-devel openssl-devel
           

因为要安装的pyltp,底层的语言是C++,所以还需要安装一个依赖包:

yum install gcc-c++