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

Sandeep Devadas dsandie at gmail.com
Wed Jun 24 07:18:17 EDT 2009


Hi David,
            I tried what you told me and Im getting this error.Please let me
know what to do next.

$ 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()
Running unit tests for numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/numpy/testing/nosetester.py", line
240, in test
    self._show_system_info()
  File "/usr/lib/python2.5/site-packages/numpy/testing/nosetester.py", line
151, in _show_system_info
    nose = import_nose()
  File "/usr/lib/python2.5/site-packages/numpy/testing/nosetester.py", line
51, in import_nose
    raise ImportError(msg)
ImportError: Need nose >= 0.10.0 for tests - see
http://somethingaboutorange.com/mrl/projects/nose
>>>
Thanks and Regards,

Sandeep.

On Wed, Jun 24, 2009 at 8:35 AM, David Cournapeau <
david at ar.media.kyoto-u.ac.jp> wrote:

> 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
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090624/959cd8c6/attachment.html>


More information about the NumPy-Discussion mailing list