On Sun, Oct 18, 2015 at 5:02 PM, Michael Sarahan <msara...@gmail.com> wrote:
> Running tests in the folder might be causing your problem.  If it's trying
> to import numpy, and numpy is a folder in your current folder, sometimes you
> see errors like this.  The confusion is that Python treats folders
> (packages) similarly to modules, and the resolution order sometimes bites
> you.  Try cd'ing to a different folder (importantly, one NOT containing a
> numpy folder!) and run the test command from there.

This isn't the problem -- ./runtests.py is designed to work fine when
run from the root of the numpy checkout.

You might try nuking your checkout and environment and starting over
just in case your earlier attempts left behind some broken detritus
somewhere. 'git clean -xdf' will clear everything out of a git
directory aside from tracked files (so make sure to add any new files
you want to keep first!).

-n

-- 
Nathaniel J. Smith -- http://vorpus.org
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to