[Numpy-discussion] AttributeError: 'module' object has no attribute 'parse'
Robert Kern
robert.kern at gmail.com
Thu Oct 14 11:14:35 EDT 2010
On Thu, Oct 14, 2010 at 09:47, Nils Wagner <nwagner at iam.uni-stuttgart.de> wrote:
> File
> "/data/home/nwagner/local/lib/python2.5/compiler/transformer.py",
> line 29, in <module>
> import parser
> File "/data/home/nwagner/parser.py", line 3, in
> <module>
> ast= compiler.parse( eq )
> AttributeError: 'module' object has no attribute 'parse'
You have a local module named parser.py . This is interfering with the
local "import parser" in compiler/transformer.py . Rename your module
or execute numpy.test() from somewhere else. This is not a bug in
numpy.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the NumPy-Discussion
mailing list