Installing lxml under MacOS 10.8
I need some help installing lxml under MacOS 10.8 with Python 2.7.2. I have this version in a directory: lxml-lxml-70a122c I'm using the instructions here: http://lxml.de/build.html#building-lxml-on-macos-x Here's what I typed: sudo python setup.py build --static-deps --without-cython It grinds for a while and fails with this message: clang: error: no such file or directory: 'src/lxml/lxml.etree.c' I've tried a number of other approaches and gotten nowhere. Using macports, it wants to replace my Python 2.7.2 with something like 2.7.5_1, and if I do, I can't even start Python. Can anyone recommend how to proceed at this point? Best regards, John Shipman, Web Developer, National Radio Astronomy Observatories; john@nmt.edu, http://www.nmt.edu/~shipman/
John W. Shipman, 23.10.2013 22:29:
I need some help installing lxml under MacOS 10.8 with Python 2.7.2.
I have this version in a directory:
lxml-lxml-70a122c
I'm using the instructions here:
http://lxml.de/build.html#building-lxml-on-macos-x
Here's what I typed:
sudo python setup.py build --static-deps --without-cython
It grinds for a while and fails with this message:
clang: error: no such file or directory: 'src/lxml/lxml.etree.c'
This is to be expected from a source checkout. It doesn't include the Cython generated C source files. You should either use a release or install Cython (and I warmly recommend the former, not the latter). Stefan
participants (2)
-
John W. Shipman
-
Stefan Behnel