[Numpy-discussion] [SciPy-Dev] Setting up a dev environment with conda
rainwoodman at gmail.com
Sun Oct 18 19:22:26 EDT 2015
Could you check if you have "/Users/lzkelley/Programs/public/numpy/ in
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
If you see something not starting with 'numpy/build', then it is again
pointing at PYTHONPATH.
I hope these helps.
On Sun, Oct 18, 2015 at 1:25 PM, Luke Zoltan Kelley <lzkelley at 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>
> 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?
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
More information about the NumPy-Discussion