读好书,交益友
分类: Python/Ruby
2013-12-02 17:06:54
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