Menu

#1339 Incorrect "Undefined variable from import" error

pending
Editor (491)
5
2011-07-18
2011-06-19
No

In the following example the second line generates a "Undefined variable from import" error with pydev 2.1:

import numpy
print numpy.arange(10)

The code runs fine as it should.

Discussion

  • Fabio Zadrozny

    Fabio Zadrozny - 2011-07-18
    • status: open --> pending
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-07-18

    This seems to be working for me... Can you check if you have 'numpy' in your forced builtins (see: http://pydev.org/manual_101_interpreter.html )

    Cheers,

    Fabio

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.