[Numpy-discussion] building numpy trunk on WindowsXP

josef.pktd at gmail.com josef.pktd at gmail.com
Thu Dec 11 22:05:56 EST 2008


I just tried to build numpy for the first time, on Windows XP SP2,
sse2, single CPU with MingW 3.45, Python25

I used `setup.py bdist` and copied extracted archive into
sitepackages, (so I can delete it again)

Are the errors and failures below expected, or did my build not work correctly?

Josef

Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.test()
Running unit tests for numpy
NumPy version 1.3.0.dev6139
NumPy is installed in C:\Programs\Python25\lib\site-packages\numpy
Python version 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Int
el)]
nose version 0.10.4
................................................................................
................................................................................
................................................................................
.......FF.......................................................................
................................................................................
...........................................K....................................
...............................................................Ignoring "Python
was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py." (one s
hould fix me in fcompiler/compaq.py)
................................................................................
................................................................................
................................................................................
................................................................................
..................E..F.....E....................................................
................................................................................
................................................................................
................................................................................
................................................................................
......S.........................................................................
................................................................................
................................................................................
................................................................................
............................................
======================================================================
ERROR: test_mmap (test_io.TestSaveLoad)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Programs\Python25\lib\site-packages\numpy\lib\tests\test_io.py", line
 64, in test_mmap
    self.roundtrip(a, file_on_disk=True, load_kwds={'mmap_mode': 'r'})
  File "C:\Programs\Python25\lib\site-packages\numpy\lib\tests\test_io.py", line
 72, in roundtrip
    RoundtripTest.roundtrip(self, np.save, *args, **kwargs)
  File "C:\Programs\Python25\lib\site-packages\numpy\lib\tests\test_io.py", line
 40, in roundtrip
    arr_reloaded = np.load(load_file, **load_kwds)
  File "C:\Programs\Python25\lib\site-packages\numpy\lib\io.py", line 137, in lo
ad
    fid = _file(file,"rb")
IOError: [Errno 13] Permission denied: 'c:\\docume~1\\carrasco\\locals~1\\temp\\
tmp2zygyo'

======================================================================
ERROR: test_mmap (test_io.TestSavezLoad)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Programs\Python25\lib\site-packages\numpy\lib\tests\test_io.py", line
 64, in test_mmap
    self.roundtrip(a, file_on_disk=True, load_kwds={'mmap_mode': 'r'})
  File "C:\Programs\Python25\lib\site-packages\numpy\lib\tests\test_io.py", line
 77, in roundtrip
    RoundtripTest.roundtrip(self, np.savez, *args, **kwargs)
  File "C:\Programs\Python25\lib\site-packages\numpy\lib\tests\test_io.py", line
 40, in roundtrip
    arr_reloaded = np.load(load_file, **load_kwds)
  File "C:\Programs\Python25\lib\site-packages\numpy\lib\io.py", line 137, in lo
ad
    fid = _file(file,"rb")
IOError: [Errno 13] Permission denied: 'c:\\docume~1\\carrasco\\locals~1\\temp\\
tmpedpthb'

======================================================================
FAIL: Check formatting.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Programs\Python25\lib\site-packages\numpy\core\tests\test_print.py",
line 28, in test_complex_types
    assert_equal(str(t(x)), str(complex(x)))
  File "C:\Programs\Python25\lib\site-packages\numpy\testing\utils.py", line 183
, in assert_equal
    raise AssertionError(msg)
AssertionError:
Items are not equal:
 ACTUAL: '(0+5.9287877500949585e-323j)'
 DESIRED: '(1+0j)'

======================================================================
FAIL: Check formatting.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Programs\Python25\lib\site-packages\numpy\core\tests\test_print.py",
line 16, in test_float_types
    assert_equal(str(t(x)), str(float(x)))
  File "C:\Programs\Python25\lib\site-packages\numpy\testing\utils.py", line 183
, in assert_equal
    raise AssertionError(msg)
AssertionError:
Items are not equal:
 ACTUAL: '0.0'
 DESIRED: '1.0'

======================================================================
FAIL: test_array (test_io.TestSaveTxt)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Programs\Python25\lib\site-packages\numpy\lib\tests\test_io.py", line
 105, in test_array
    '3.000000000000000000e+00 4.000000000000000000e+00\n'])
AssertionError

----------------------------------------------------------------------
Ran 1627 tests in 10.640s

FAILED (KNOWNFAIL=1, SKIP=1, errors=2, failures=3)
<nose.result.TextTestResult run=1627 errors=2 failures=3>



More information about the NumPy-Discussion mailing list