[Numpy-discussion] Matlab IO Warning in mio5.py

Charles R Harris charlesr.harris@gmail....
Sun Sep 26 23:07:19 CDT 2010


On Sun, Sep 26, 2010 at 9:56 PM, <josef.pktd@gmail.com> wrote:

> On Sun, Sep 26, 2010 at 11:42 PM,  <josef.pktd@gmail.com> wrote:
> > On Sun, Sep 26, 2010 at 11:03 PM, Ben Longstaff <longstaff2009@gmail.com>
> wrote:
> >> numpy 1.5.0 (installed from numpy-1.5.0-win32-superpack-python2.6.exe
> from
> >> sourceforge.net)
> >> scipy 0.8.0 (installed from scipy-0.8.0-win32-superpack-python2.6.exe
> from
> >> sourceforge.net)
> >> python 2.6.6 (installed with ActivePython 2.6.6.15)
> >
> > It's a safe combination, and the cython warning has no effect.
> >
> > (Maybe a disclaimer: There's always a chance that new things show up,
> > but I haven't heard of any problems.)
>
> Just a side comment: ActiveState is distributing (since June)
>
> "New packages for data centric financial modeling and scientific
> computing applications (available in ActivePython Business,
> Enterprise, and OEM Editions):
>    * NumPy: The fundamental library needed for financial and
> scientific computing with Python
>    * SciPy: A suite of scientific tools for Python, depends on the
> NumPy library
>    * matplotlib: A Python numerical plotting library
> "
>
> because of changes in US financial regulation. So maybe we get some
> additional testing out of it.
>
> Josef
>
> >
> > Josef
> >
> >>
> >> On Mon, Sep 27, 2010 at 12:26 PM, <josef.pktd@gmail.com> wrote:
> >>>
> >>> On Sun, Sep 26, 2010 at 9:57 PM, Ben Longstaff <
> longstaff2009@gmail.com>
> >>> wrote:
> >>> > Is the warning message produced by the test script below an issue I
> need
> >>> > to
> >>> > address if I am to use the numpy and scipy libraries? The script
> below
> >>> > gives
> >>> > me the warning below on both windows 7 and vista
> >>> > Thanks for your time
> >>> > Ben
> >>> >
> >>> > Python Script
> >>> >
> >>> > #!/path/to/python
> >>> > import re, string, sys
> >>> > from numpy import *
> >>> > import scipy.weave
> >>> > print "Hello, World!"
> >>> >
> >>> > Warning Message
> >>> > C:\Python26\lib\site-packages\scipy\io\matlab\mio5.py:90:
> >>> > RuntimeWarning:
> >>> > __builtin__.file size changed, may indicate binary incompatibility
> >>> >   from mio5_utils import VarReader5
> >>> >
> >>> > Hello, World!
> >>>
> >>> Which numpy and scipy versions are you using? e.g. scipy.__version__
> >>> np.__version__
> >>>
> >>> This looks like a warning from cython, but the versions are still
> >>> binary compatible, and there shouldn't be any problems.
> >>> (with all numpy except 1.4.0 and 2.x in repository)
> >>>
>

Didn't Ralph catch the warnings on import for the released binaries? Maybe
he missed one. Also, I don't recall seeing seeing that one before, not that
it is necessarily a problem.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100926/fd9ef034/attachment-0001.html 


More information about the NumPy-Discussion mailing list