The following forum message was posted by vossberg at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4403527:
I am running multiple versions of python, 2.7 & 3.1 and am working with the
xml packages. I have performed easy_update-2.7 to obtain the packages pyxml
& lxml for python 2.7. From the command line; ./python2.7 I can perform; from
xml.dom.ext.reader import Sax2 and it works. In Eclipse I have the same statement
but it gives an undefined reference 'Sax2'.
There appears to be a disconnect between python at the command line and python
in eclipse. I have removed and added the python2.7 interpreter to ensure that
all of the references were updated. Is there a way to test/check for the presence
of a package in eclipse or some other way to troubleshoot this problem?
Any assistance would be greatly appreciated.
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4403527:
Can you try to just press 'apply' in the interpreter configuration and select
the python 2.7 to see if it gets properly found after that (to be 100% you can
try that and restart eclipse afterwards -- although it shouldn't be needed,
I'm just playing safe here).
Also, can you make sure that the pythonpath for 2.7 does have the folders you
want (if it doesn't work, please post the pythonpath you're using -- do a run
with a file that does 'import sys;print('\n'.join(sorted(sys.path)))'.
Get latest updates about Open Source Projects, Conferences and News.