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

The problem lies in: 

import sys 
sys.path.append('Classes') 

import sequences.

Pydev doesn't 'know' that this really means:

import Classes.sequences as sequences

That's probably not going to be supported. 'Classes' actually depends on your
working directory the way you put it, so, while it may make sense for that 
module,
when you start running from it, any other import in any other module wouldn't
know about it.

So, the solution is writing your imports according to your actual PYTHONPATH
(or changing it so that your PYTHONPATH actually starts below 'Classes' -- but
then your main.py also has to be below the 'Classes' folder).

Cheers,

Fabio

______________________________________________________________________
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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to