[Numpy-discussion] Problems building from source
Charles R Harris
Mon Aug 5 15:17:41 CDT 2013
On Mon, Aug 5, 2013 at 2:00 PM, Raul Cota <email@example.com> wrote:
> I had not updated my code for a few months. I updated today to the
> latest source and I cannot build anymore,
> (Windows, Python 2.6)
> When I do,
> python setup.py build
> I get,
> Running from numpy source directory.
> Traceback (most recent call last):
> File "setup.py", line 192, in <module>
> File "setup.py", line 169, in setup_package
> from numpy.distutils.core import setup
> "C:\Users\Raul\Documents\GitHub\numpy\numpy\distutils\__init__.py", line
> 37, in <module>
> from numpy.testing import Tester
> "C:\Users\Raul\Documents\GitHub\numpy\numpy\testing\__init__.py", line 13
> , in <module>
> from .utils import *
> File "C:\Users\Raul\Documents\GitHub\numpy\numpy\testing\utils.py",
> line 13, i
> n <module>
> from numpy.core import float32, empty, arange
> File "C:\Users\Raul\Documents\GitHub\numpy\numpy\core\__init__.py",
> line 6, in
> from . import multiarray
> ImportError: cannot import name multiarray
> I can see
> changed the imports to be 'relative' based from when it used to work.
> Any hints or reference to a related discussion ? All I found was pr 3178
> "2to3 apply import fixer"
I don't think anyone else has seen this problem, although I don't know who
else uses window. Have you checked with a clean build and clean install?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion