python --version
Python 2.5.6
OS X 10.7.3
我想安装 lxml 但找不到成功的方法
STATIC_DEPS=true pip install lxml
STATIC_DEPS=true pip install --install-option="--libxml2-version=2.7.8" lxml
使用 brew 等
我不知道出了什么问题
我的错误:
threads.c: In function 'xmlCleanupThreads':
threads.c:918: error: expected expression before '{' token
make[2]: *** [threads.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Traceback (most recent call last):
File "/usr/bin/easy_install-2.7", line 10, in <module>
load_entry_point('setuptools==0.6c12dev-r85381', 'console_scripts', 'easy_install')()