#1239 Undefined variable from import


After updating from Python2.5 to Python 2.6 and fixing the problems, described in issue 3090339 (https://sourceforge.net/tracker/?func=detail&aid=3090339&group_id=85796&atid=577329), Pydev issues an "undefined variable from import" error. Such imports include numpy, matplotlib and other pivotal libraries. Adding the relevant entries to the "Forced built-ins" list and restarting Eclipse does not solve the problem, as shown by the attached screenshot


  • Boris Gorelik

    Boris Gorelik - 2010-10-19

    screenshot describing the problem

  • Boris Gorelik

    Boris Gorelik - 2010-12-01

    I've just upgraded from numpy 1.5.0 to 1.5.1, added C:\Python26\Lib\site-packages\numpy to PyDev's System PYTHONPATH (it was previously removed from PyDev's PYTHONPATH due to issue #3090339), This fixed the problem.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks