CentOS7安装Murano-agent时的error:command 'gcc' failed with exit status 1
在build Symphony 的CentOS image的时候,需要安装Murano-agent,git clone 下来Murano-agent的包以后,先执行以下命令安装依赖pip install -r requirement.txt这个时候出现了这个错误:In file included from greenlet.c:5:0:greenlet.h:8:
·
在build Symphony 的CentOS image的时候,需要安装Murano-agent,
git clone 下来Murano-agent的包以后,先执行以下命令安装依赖
pip install -r requirement.txt
这个时候出现了这个错误:
In file included from greenlet.c:5:0:
greenlet.h:8:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1`
这是因为没有安装Python development 需要的headers导致的
可以做如下处理
yum install python-devel
yum install libevent-devel
更多推荐
已为社区贡献2条内容
所有评论(0)