[Numpy-discussion] [SciPy-Dev] Setting up a dev environment with conda

Luke Zoltan Kelley lzkelley at gmail.com
Sun Oct 18 16:25:15 EDT 2015

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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20151018/5e35d67b/attachment.html>

More information about the NumPy-Discussion mailing list