[Pydev-users] [Users] RE: lxml (and others) generate import errors
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2010-06-09 14:50:26
|
The following forum message was posted by huze at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/3723753: The code is simple: [code]from lxml import etree[/code] The \"etree\" portion of that line is highlighted as an import error. Based upon your recommendation, I added \"lxml\" to the Forced Builtins. Assuming simply adding \"lxml\" to the Forced Builtins would correct things, I can confirm that PyDev still detects the import as an error. And, yes, it\'s in the PYTHONPATH. I\'m able to import that same line without any errors in a Terminal window running Python. |