The following forum message was posted by jjkparker at
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4708141:
I must be doing something silly here, because this is triggered by a trivial
project.
I created a project (call it "carlib") in PyDev 2.2.2 and Eclipse 3.7.0, using
a custom source location, Pythong 3.0 grammar, and with a src folder. Then I
created a package (also "carlib") inside src and a module inside of that. Here's
the situation:
[code]
carlib [project]
src [folder]
carlib [package]
__init__.py
car.py
[/code]
Then I want to expose the car module to users of the package, so I put this
in __init__.py:
[code]
import carlib.car
[/code]
This works when I run, and it works in the interpreter when I import carlib,
but the PyDev editor is giving an error in __init__.py: "Unresolved import:
carlib"
Any ideas what's going on here?
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users