[Numpy-discussion] Problems building from source
Charles R Harris
charlesr.harris at gmail.com
Mon Aug 5 16:17:41 EDT 2013
On Mon, Aug 5, 2013 at 2:00 PM, Raul Cota <raul at virtualmaterials.com> wrote:
> Hello,
>
> 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>
> setup_package()
> File "setup.py", line 169, in setup_package
> from numpy.distutils.core import setup
> File
> "C:\Users\Raul\Documents\GitHub\numpy\numpy\distutils\__init__.py", line
> 37, in <module>
> from numpy.testing import Tester
> File
> "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
> <module>
> from . import multiarray
> ImportError: cannot import name multiarray
>
> """
>
> I can see
> numpy\numpy\core\__init__.py
>
> 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?
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20130805/2fa7b2a6/attachment.html>
More information about the NumPy-Discussion
mailing list