Hi Luke, Could you check if you have "/Users/lzkelley/Programs/public/numpy/ in your PYTHONPATH?
I would also suggest you add a print(np) line before the crash in nosetester.py. I got something like this (which didn't crash): <module 'numpy' from '/home/yfeng1/source/numpy/build/testenv/lib64/python2.7/site-packages/numpy/__init__.pyc'> If you see something not starting with 'numpy/build', then it is again pointing at PYTHONPATH. I hope these helps. Best, - Yu On Sun, Oct 18, 2015 at 1:25 PM, Luke Zoltan Kelley <lzkel...@gmail.com> wrote: > Thanks for the help Nathaniel --- but building via `./runtests.py` is > failing in the same way. Hopefully Numpy-discussion can help me out. > > I'm able to build using `python setup.py build_ext --inplace` but both > trying to run `python setup.py install` or `./runtests.py` leads to the > following error: > > (numpy-py27)daedalus-2:numpy lzkelley$ ./runtests.py > Building, see build.log... > Running from numpy source directory. > Traceback (most recent call last): > File "setup.py", line 264, in <module> > setup_package() > File "setup.py", line 248, in setup_package > from numpy.distutils.core import setup > File "/Users/lzkelley/Programs/public/numpy/numpy/distutils/__init__.py", > line 21, in <module> > from numpy.testing import Tester > File "/Users/lzkelley/Programs/public/numpy/numpy/testing/__init__.py", > line 14, in <module> > from .utils import * > File "/Users/lzkelley/Programs/public/numpy/numpy/testing/utils.py", line > 17, in <module> > from numpy.core import float32, empty, arange, array_repr, ndarray > File "/Users/lzkelley/Programs/public/numpy/numpy/core/__init__.py", line > 59, in <module> > test = Tester().test > File "/Users/lzkelley/Programs/public/numpy/numpy/testing/nosetester.py", > line 180, in __init__ > if raise_warnings is None and '.dev0' in np.__version__: > AttributeError: 'module' object has no attribute '__version__' > > Build failed! > > > Has anyone seen something like this before? > > Thanks! > Luke > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > https://mail.scipy.org/mailman/listinfo/numpy-discussion > _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion