Building against libxml2/libxslt in the following directory: /usr/lib
src/lxml/lxml.etree.c:4:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1
只好去GOOGLE才發現原來要安裝 python-dev 就可以了
# sudo apt-get install python-dev
ps:我有安裝python2.7 python3.2 誰會知道還要安裝 python-dev 阿(翻桌)
沒有留言:
張貼留言