
Nov. 18, 2013
6:12 a.m.
I am trying to use lxml on Ubuntu 13.10 64 bit. I created a virtualenv workspace with Python 3.3.2 64 bit and installed lxml using pip with no reported errors. However when I try to run a Python script with the following code: import lxml context = lxml.etree.iterparse(...) I get the following error: AttributeError: 'module' object has no attribute 'etree' I have verified that the etree .so file is in the site-packages directory of the virtualenv. I tried setting the LD_LIBRARY_PATH environment variable to the site-packages/lxml directory but this did not help. I am at a complete loss to know how to proceed from here.
4115
Age (days ago)
4115
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dirk Rothe
-
Jonathan Gossage