numpy load raises "AttributeError: 'module' object has no attribute 'expr'" numpy load raises "AttributeError: 'module' object has no attribute 'expr'" numpy numpy

numpy load raises "AttributeError: 'module' object has no attribute 'expr'"


I think you must have another file named parser.py somewhere in your files (the ones that Python can find). It is making it so that Python finds the wrong parser module. Look around and see if that is the case. It could be a parser.so file too.

Try going into an interactive session and typing:

import parserprint parser.__file__

Hopefully, that will tell you where the troublesome file is located.