[Numpy-discussion] numpy and python 2.6 on windows: please test

Matthieu Brucher matthieu.brucher at gmail.com
Tue Mar 3 07:46:12 EST 2009


2009/3/3 James Watson <watson.jim at gmail.com>:
>> I would appreciate if people would test building numpy
>> (trunk); in particular since some issues are moderately complex and
>> system dependent
>
> On Vista with VS2008, numpy rev r6535, I get the following behaviour:
> 1. Building and installing numpy on python 2.6.1 compiled in debug
> mode succeeds, but 'import numpy' returns 'ImportError: No module
> named multiarray'.
> 2. Building and installing numpy using python compiled in release mode
> succeeds, 'import numpy' succeeds, but 'numpy.test()' crashes the
> interpreter.
>
> When running in a debug version of python, 'from numpy.core import
> multiarray' raises an ImportError, but this does not happen with the
> release version, where multiarray functions seem to work.
>
> Could this be related to the PyImport_Import and PyImport_ImportModule
> changes made in 2.6 (bottom of
> http://docs.python.org/whatsnew/2.6.html)?

Windows debug extensions have a suffix, d. If you don't install the
debug version of numpy, you can't use it with debug Python.

Matthieu
-- 
Information System Engineer, Ph.D.
Website: http://matthieu-brucher.developpez.com/
Blogs: http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn: http://www.linkedin.com/in/matthieubrucher



More information about the NumPy-Discussion mailing list