I'm not really sure how to setup lxml properly, so I need some help.
Summary:
import lxml gives the following error:
ImportError: No module named lxml
Background:
I first tried out the install instructions here: http://codespeak.net/lxml/installation.html#ms-windows
This involved 3 steps: 1) using easy_install lxml 2) Installing libxml 3) Installing libxslt
Suffice to say that method never worked right. During all those steps, I probably did something wrong.
Next, I tried the Windows binary egg method (after I deleted the previous lxml install).
I downloaded: lxml-2.2.2-py2.6-win-amd64.egg and I copied the file to:
Python2.6.1\Lib\site-packages\lxml-2.2.2-py2.6-win-amd64.egg
Questions:
* Is this the correct way to install an egg? (or is there more to it?)
* Could, elementree or html5lib packages be causing a conflict?
* So, what am I doing wrong? :) Is it something simple that I missed or should it be working the way I have it now?
System info:
Windows Vista 64bit
Python 2.6.4 64bit
Contents of my site-packages:
babel-0.9.4-py2.6.egg
cherrypy-3.1.1-py2.6.egg
decorator-3.0.0-py2.6.egg
django-1.0.2_final-py2.6.egg
django_wikiapp-0.2.0-py2.6.egg
939 easy-install.pth
elementtree-1.2.7_20070827_preview-py2.6.egg
elixir-0.3.0-py2.6.egg
elixir-0.6.1-py2.6.egg
FormEncode-1.2.3dev_r0-py2.6.egg
Genshi-0.5.1-py2.6.egg
Genshi.egg-info
html5lib-0.11.1-py2.6 - Copy.zip
html5lib-0.11.1-py2.6.egg
lxml-2.2.2-py2.6-win-amd64.egg
mako-0.2.4-py2.6.egg
nose-0.10.4-py2.6.egg
paste-1.7.2-py2.6.egg
pastedeploy-1.3.3-py2.6.egg
pastescript-1.7.3-py2.6.egg
posterity-0.6-py2.6.egg
Pylons-0.9.7-py2.6.egg
pysqlite-2.5.5-py2.6.egg-info
pysqlite2
pytidylib-0.1.2-py2.6.egg-info
README.txt
resolver-0.2.1-py2.6.egg
selector-0.8.11-py2.6.egg
setuptools-0.6c9-py2.6.egg
setuptools.pth
sqlalchemy-0.3.11-py2.6.egg
sqlalchemy-0.5.3-py2.6.egg
tempita-0.2-py2.6.egg
tidy
tidylib
uTidylib-0.2-py2.6.egg-info
weberror-0.10.1-py2.6.egg
webob-0.9.6.1-py2.6.egg
webtest-1.1-py2.6.egg
wsgiref-0.1.2-py2.6.egg
xlrd
xlrd-0.6.1-py2.6.egg-info
zzzzzzhtml5lib-0.11.1-py2.6 - Copyzzzzzzzzzzz
Bing brings you maps, menus, and reviews organized in one place. Try it now.