RYU安装与遇见的错误
2015-08-05 01:18
501 查看
1.
#yum install gcc
#yum install gcc-c++
2
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的头文件和静态库包:
3.安装git
yum install git
4.git clone git://github.com/osrg/ryu.git
5.
#cd ryu;
#python setup.py install
gcc no such file or directory
是gcc 没有安装#yum install gcc
#yum install gcc-c++
2
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-devel Ubuntu下 # 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
相关文章推荐
- Python动态类型的学习---引用的理解
- Python3写爬虫(四)多线程实现数据爬取
- 垃圾邮件过滤器 python简单实现
- 下载并遍历 names.txt 文件,输出长度最长的回文人名。
- install and upgrade scrapy
- Scrapy的架构介绍
- Centos6 编译安装Python
- 使用Python生成Excel格式的图片
- 让Python文件也可以当bat文件运行
- [Python]推算数独
- Python中zip()函数用法举例
- Python中map()函数浅析
- Python在CAM软件Genesis2000中的应用
- 使用Shiboken为C++和Qt库创建Python绑定
- FREEBASIC 编译可被python调用的dll函数示例
- Python 七步捉虫法
- Python实现的基于ADB的Android远程工具