这是一个创建于 4206 天前的主题,其中的信息可能已经有所发展或是发生改变。
系统Ubuntu 13.04,内置python2.7.4,安装june总是在pip install -r etc/reqs-dev.txt时出错,高手帮助一下,谢谢了!
-Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/misaka.c -o build/temp.linux-x86_64-2.7/src/misaka.o
src/misaka.c:4:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command /root/xiqi/easy/bin/python2.7 -c "import setuptools;__file__='/root/xiqi/easy/build/misaka/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-xKQ8OP-record/install-record.txt --single-version-externally-managed --install-headers /root/xiqi/easy/include/site/python2.7 failed with error code 1 in /root/xiqi/easy/build/misaka
Storing complete log in /root/.pip/pip.log
2 条回复 • 1970-01-01 08:00:00 +08:00
|
|
1
messense 2013-05-23 11:43:42 +08:00
试试先 apt-get install python-dev 再做这个?
|
|
|
2
bradlee 2013-05-25 02:24:25 +08:00 via iPhone
楼上正解
|