[SciPy-User] Warnings --- why do they occur and how can I stop them?

Ralf Gommers ralf.gommers at gmail.com
Sat Oct 27 03:44:57 EDT 2012


On Fri, Oct 26, 2012 at 10:15 PM, David Warde-Farley <
wardefar at iro.umontreal.ca> wrote:

> It sounds as if you've installed a binary-incompatible version of
> SciPy for the version of NumPy that you have.
>
> SciPy's version requirements are pretty loose but since SciPy if
> you're installing binaries, you need to be sure that the SciPy binary
> you get was compiled against the same version of NumPy that you get
> (or at least one with the same ABI version, to get technical).
>
> Deleting whatever you currently have and downloading one of the
> "superpack" installers from here
> http://sourceforge.net/projects/scipy/files/scipy/0.11.0/ should fix
> you up.
>

 That's not necessary. If
    >>> import scipy
    >>> scipy.test()
 runs without issues the install works fine.

The reason for these warnings is Cython being too picky, they can be
silenced like in: https://github.com/numpy/numpy/pull/432

Ralf

On Fri, Oct 26, 2012 at 1:57 PM, Virgil Stokes <vs at it.uu.se> wrote:
> > I have the following installed:
> >
> >    NumPy 1.6.1
> >    SciPy 0.11.0
> >
> > on a Windows Vista (32-bit) platform with Python 2.7
> >
> > I get the following warnings:
> >
> > D:\python27\lib\site-packages\scipy\io\matlab\mio4.py:15: RuntimeWarning:
> > numpy.dtype size changed, may indicate binary incompatibility
> >        from mio_utils import squeeze_element, chars_to_strings
> > D:\python27\lib\site-packages\scipy\io\matlab\mio4.py:15: RuntimeWarning:
> > numpy.ufunc size changed, may indicate binary incompatibility
> >        from mio_utils import squeeze_element, chars_to_strings
> > D:\python27\lib\site-packages\scipy\io\matlab\mio5.py:96: RuntimeWarning:
> > numpy.dtype size changed, may indicate binary incompatibility
> >        from mio5_utils import VarReader5
> > D:\python27\lib\site-packages\scipy\io\matlab\mio5.py:96: RuntimeWarning:
> > numpy.ufunc size changed, may indicate binary incompatibility
> >        from mio5_utils import VarReader5
> >
> >   When the following statement is executed
> >
> > from scipy import io
> >
> > Why does this occur and what can be done to fix this problem?
> > _______________________________________________
> > SciPy-User mailing list
> > SciPy-User at scipy.org
> > http://mail.scipy.org/mailman/listinfo/scipy-user
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20121027/7cc83999/attachment.html>


More information about the SciPy-User mailing list