[Pydev-users] [Please post to StackOverflow with PyDev tag] RE: sys.registry undefined variable
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2012-11-27 22:31:48
|
The following forum message was posted by richkatz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4429027: I have the same issue with PyDev (not related to Jython). I have import lxml.etree and I get "Undefined variable from import: tostring" I'm using Python 2.7 using: Window | Preferences | PyDev | Interpreter - Python Libraries \System libs C:\Python27\lib\site-packages\lxml-2.3-py2.7-win32.egg And: Project Properties DyDev - Interpreter/Grammer Python Grammar Version 2.7 I fixed it though by adding in etree.py as an external lib to the project, forcing compilation, and then removing it. |