Download lxml-2.3.3.tar.gz
Extract it then run sudo python setup.py build under the folder
python selftest.py =>184 tests ok.
Extract lxml folder lxml-2.3.3\src\lxml to my python path
Running the application will cause error - Usage of the XML aspects requires lxml
Is that correct way to build and install?
After building, you have to install using
python setup.py install
Simply copying the folder to python path will not work.
Or you can just use pip and run
pip install lxml
For Windows, you can download the pre-built module from this windows python lib site. Note that this is unofficial, but highly respected.
easy_install lxml
. It looks like you are on windows so easyinstall should be in the scripts subdirectory of your python folde - Nolen Royalty 2012-04-04 03:43