RYU安装与遇见的错误

来源:互联网 发布:mac照片传到移动硬盘 编辑:程序博客网 时间:2024/05/01 18:42

1.

gcc no such file or directory

是gcc 没有安装

 #yum install gcc

#yum install gcc-c++


In file included from greenlet.c:5:0:

greenlet.h:8:20: 致命错误: Python.h:没有那个文件或目录

编译中断。

error: Setup script exited with error: command 'gcc' failed with exit status 1

解决方法是如下,这是Python的头文件和静态库包:

CentOS 使用下面命令# yum install python-develUbuntu下   # apt-get install python-dev

3.安装git

yum install git

4.git clone git://github.com/osrg/ryu.git

5.

#cd ryu;

#python  setup.py install

0 0
原创粉丝点击