在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



就可以解决这个问题了

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐