|
On 05/08/2013 2:17 PM, Charles R Harris
wrote:
On Mon, Aug 5, 2013 at 2:00 PM, Raul Cota
<[email protected]>
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?
Yes.
I will try again starting from scratch. I will poke around a bit
more and report back if I find anything interesting.
Here is where I am at,
I commented out,
#if _INSTALLED:
# from numpy.testing import Tester
# test = Tester().test
# bench = Tester().bench
and now it at least tries to build and now gives me compiler errors,
arrayobject.c
numpy\core\src\multiarray\arrayobject.c(1307) : error C2143: syntax
error : miss
ing ';' before 'type'
numpy\core\src\multiarray\arrayobject.c(1309) : error C2065: '_res'
: undeclared
identifier
numpy\core\src\multiarray\arrayobject.c(1313) : error C2065: '_res'
: undeclared
identifier
numpy\core\src\multiarray\arrayobject.c(1318) : error C2065: '_res'
: undeclared
identifier
numpy\core\src\multiarray\arrayobject.c(1364) : error C2143: syntax
error : miss
ing ';' before 'type'
numpy\core\src\multiarray\arrayobject.c(1366) : error C2065: '_res'
: undeclared
identifier
numpy\core\src\multiarray\arrayobject.c(1370) : error C2065: '_res'
: undeclared
identifier
numpy\core\src\multiarray\arrayobject.c(1375) : error C2065: '_res'
: undeclared
identifier
Raul
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion
|
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion