Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4141431
  • 博文数量: 447
  • 博客积分: 1241
  • 博客等级: 中尉
  • 技术积分: 5786
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-27 06:48
个人简介

读好书,交益友

文章分类

全部博文(447)

文章存档

2023年(6)

2022年(29)

2021年(49)

2020年(16)

2019年(15)

2018年(23)

2017年(67)

2016年(42)

2015年(51)

2014年(57)

2013年(52)

2012年(35)

2011年(5)

分类: Python/Ruby

2013-12-02 17:06:54

现在发现ubuntu下安装reids的python客户端,还是花点力气的

首先安装easy_install

wget 
python ez_setup.py --user

出现 
Running hiredis-0.1.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-bl7wJL/hiredis-0.1.1/egg-dist-tmp-t2S1cZ
In file included from src/hiredis.c:1:0:
src/hiredis.h:4:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
网上g了以下,发现python-dev没有安装
只好 apt-get install python-dev 
阅读(5138) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~