I wanted to use full import names in my project (see this question). The problem described there has been solved and everything works fine (edit: if the script is launched with execfile
) outside eclipse and pydev (running on windows), in ccps on linux (which has jython built in). However eclipse gives me the following error:
from Project.gui import gui
ImportError: No module named gui
while my project structure inlcudes the following (everything without .py is a folder):
Project
__init__.py
gui
__init__.py
gui.py
Project.py
I launch Project.Project.py and get the above error.
print sys.path
right before the critical import yields:
['****\\Root\\Project', '****\\Root',
*bunch of jars/jython libs*,
'__classpath__', '__pyclasspath__/']
I am running eclipse and PyDev.