[Numpy-discussion] AttributeError: 'module' object has no attribute 'parse'

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Oct 14 09:47:58 CDT 2010


Hi all,

I have Installed numpy via git.
numpy.test() failed.

Nils

>>> import numpy
>>> numpy.__version__
'2.0.0.dev8621'
>>> numpy.test()
Running unit tests for numpy
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/testing/nosetester.py", 
line 318, in test
     self._show_system_info()
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/testing/nosetester.py", 
line 187, in _show_system_info
     nose = import_nose()
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/testing/nosetester.py", 
line 56, in import_nose
     import nose
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/nose-0.11.1-py2.5.egg/nose/__init__.py", 
line 1, in <module>
     from nose.core import collector, main, run, run_exit, 
runmodule
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/nose-0.11.1-py2.5.egg/nose/core.py", 
line 11, in <module>
     from nose.config import Config, all_config_files
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/nose-0.11.1-py2.5.egg/nose/config.py", 
line 8, in <module>
     from nose.util import absdir, tolist
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/nose-0.11.1-py2.5.egg/nose/util.py", 
line 14, in <module>
     from compiler.consts import CO_GENERATOR
   File 
"/data/home/nwagner/local/lib/python2.5/compiler/__init__.py", 
line 24, in <module>
     from compiler.transformer import parse, parseFile
   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'
  


More information about the NumPy-Discussion mailing list