Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4061882
By: dontaylor

I am having trouble getting Pydev to see a  module in an import statement. 
I must be doing something stupid, but I can't figure it out.

I have .pth file in my C:\Python24 folder that contains:

D:\pythoncommon
D:\pythoncommon\pydispatch

When I configure an interpreter I see both of these folders as candidates for
the System PYTHONPATH and I check them both.

When I import something from D:\pythoncommon then Pydev accepts it ok, but when
I try to import something from D:\pythoncommon\pydispatch then Pydev gives me
an unresolved import error.

When I F9 run the code it works - so the import is being resolved correctly
at run-time.

I have tried this with and without PYTHONPATH environment variables, I have
run Eclipse -clean and I have removed and re-istalled the Python interpreter.
Many times for all of these things!

Don.




______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to