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>
josef.pktd@gmail.com wrote:
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)
You can also use bdist_wininst, which will create a binary installer, with uninstall feature.
Are the errors and failures below expected, or did my build not work correctly?
I have not seen the io ones, but I have not tested numpy on windows recently, so they may be regressions or new tests which do not pass on windows.
David
On Thu, Dec 11, 2008 at 9:26 PM, David Cournapeau < david@ar.media.kyoto-u.ac.jp> wrote:
josef.pktd@gmail.com wrote:
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)
You can also use bdist_wininst, which will create a binary installer, with uninstall feature.
Are the errors and failures below expected, or did my build not work
correctly?
I have not seen the io ones, but I have not tested numpy on windows recently, so they may be regressions or new tests which do not pass on windows.
I think the io errors used to show up on the windows buildbots, something to do with temp files and permissions on windows. Some of the formatting errors look like missing values, i.e., it's just stuff that happened to be in some memory location.
Chuck
On Fri, Dec 12, 2008 at 12:12 AM, Charles R Harris charlesr.harris@gmail.com wrote:
On Thu, Dec 11, 2008 at 9:26 PM, David Cournapeau david@ar.media.kyoto-u.ac.jp wrote:
josef.pktd@gmail.com wrote:
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)
You can also use bdist_wininst, which will create a binary installer, with uninstall feature.
Are the errors and failures below expected, or did my build not work correctly?
I have not seen the io ones, but I have not tested numpy on windows recently, so they may be regressions or new tests which do not pass on windows.
I think the io errors used to show up on the windows buildbots, something to do with temp files and permissions on windows. Some of the formatting errors look like missing values, i.e., it's just stuff that happened to be in some memory location.
Chuck
Thanks, I didn't expect that building numpy would work this easily.
Josef
On Thu, Dec 11, 2008 at 11:01 PM, josef.pktd@gmail.com wrote:
On Fri, Dec 12, 2008 at 12:12 AM, Charles R Harris charlesr.harris@gmail.com wrote:
On Thu, Dec 11, 2008 at 9:26 PM, David Cournapeau david@ar.media.kyoto-u.ac.jp wrote:
josef.pktd@gmail.com wrote:
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)
You can also use bdist_wininst, which will create a binary installer, with uninstall feature.
Are the errors and failures below expected, or did my build not work correctly?
I have not seen the io ones, but I have not tested numpy on windows recently, so they may be regressions or new tests which do not pass on windows.
I think the io errors used to show up on the windows buildbots, something
to
do with temp files and permissions on windows. Some of the formatting
errors
look like missing values, i.e., it's just stuff that happened to be in
some
memory location.
Chuck
Thanks, I didn't expect that building numpy would work this easily.
Now that the windows buildbot is back after being offline for a while, I see the same io errors. I wonder if something changed? The formatting errors aren't there, however.
Chuck