Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'No-name-in-module' import error

I'm getting a 'No-name-in-module' import error whenever I try to import linalg from scipy I have no trouble importing scipy or anything else from scipy. For some reason it doesn't like linalg. Oddly, eclipse includes linalg under auto-completion.

I have tried:

  • Removing the interpreter and then adding it again
  • Adding site-tools, the scipy directory, and even the scipy/linalg directory to libraries under the python interpreter preferences.
  • Deleting all class files
  • Importing linalg as a different name
  • Reinstalling eclipse
  • freaking out

I'm running anaconda on ubuntu 14.04

like image 727
Luke Avatar asked Jan 10 '23 16:01

Luke


1 Answers

The problem seems to be coming from pylint. Error disappears if I add: # pylint: disable-msg=E0611 to the line

like image 90
Luke Avatar answered Jan 17 '23 16:01

Luke