[Numpy-discussion] [SciPy-Dev] Setting up a dev environment with conda
Nathaniel Smith
njs at pobox.com
Sun Oct 18 21:04:33 EDT 2015
On Sun, Oct 18, 2015 at 5:02 PM, Michael Sarahan <msarahan at 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
More information about the NumPy-Discussion
mailing list