Jython project in Eclipse can't find the xml module, but works in an identical project
Posted
by Rob Lourens
on Stack Overflow
See other posts from Stack Overflow
or by Rob Lourens
Published on 2010-06-16T21:38:19Z
Indexed on
2010/06/16
21:52 UTC
Read the original article
Hit count: 159
I have two projects in Eclipse with Java and Python code, using Jython. Also I'm using PyDev. One project can import and use the xml module just fine, and the other gives the error ImportError: No module named xml
. As far as I can tell, all the project properties are set identically. The working project was created from scratch and the other comes from code checked out of an svn repository and put into a new project.
What could be the difference?
edit- Same for os
, btw. It's just missing some path somewhere...
© Stack Overflow or respective owner