Dear all,

I have recently set up a new system, and am since then not able to set
up pydev properly

I am using the brian simulator, its a package installed in

/usr/local/lib/python2.7/dist-packages/brian

and import it via "from brian import *"

Now in my code, wherever I use a variable imported from brian, it will
be marked as "Undefined variable". the code compiles without errors.
Even, ctrl+clicking on the "Undefined variable" will open the source
file whit its definition from the correct location.

In interpreter libraries I have made sure that

/usr/local/lib/python2.7/dist-packages/

is in the  PYTHONPATH.

I am not sure, whether subdirectories are required to be added
explicitly, so I went ahead and added

/usr/local/lib/python2.7/dist-packages/brian

but the errors still appear. I have also tried adding the path in the
project properties PYTHONPATH, again without luck.

Using "from brian import Variable", removes the "Undefined variable"
error but introduces "Unresolved Import: Variable"

Whats going wrong?

cheers,

rinaldo

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to