My bet is that since it is numpy.__init__conditionally loaded on importwith the help of a block if __NUMPY_SETUP__, the static analyzer has no idea which branch will work, and thus simply cannot determine what will be in the module namespace. You should try adding NumPy to forced built-in functions in PyDev. I had similar problems with other libraries (e.g. nothing with flask.ext), but basically they just learned to ignore them.
source
share