[Numpy-discussion] MKL Path error on Cygwin after installing on windows.

David Cournapeau david@ar.media.kyoto-u.ac...
Tue Jun 23 22:05:22 CDT 2009


Sandeep Devadas wrote:
> Hi,
>         I got numpy working on Python under cygwin and am getting this
> error .
> Please let me know what to do as I am new to Python and dont know
> anything.
>  
> $ python
> Python 2.5.2 (r252:60911, Dec  2 2008, 09:26:14)
> [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import numpy
> >>> numpy.test( 10 )
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python2.5/site-packages/numpy/testing/nosetester.py",
> line 221, in test
>     argv = self._test_argv(label, verbose, extra_argv)
>   File "/usr/lib/python2.5/site-packages/numpy/testing/nosetester.py",
> line 141, in _test_argv
>     raise TypeError, 'Selection label should be a string'
> TypeError: Selection label should be a string

You can test numpy as follows:
    >>> import numpy
    >>> numpy.test() # basic tests
    >>> numpy.test(label='full') # all tests, including slower ones
    >>> numpy.test(verbose=10) # verbose output

IIRC, there are not that many more tests with label='full' than with the
default for numpy (the difference matters for scipy).

cheers,

David


More information about the Numpy-discussion mailing list