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

josef.pktd at gmail.com josef.pktd at gmail.com
Mon Sep 27 00:26:05 EDT 2010


On Mon, Sep 27, 2010 at 12:07 AM, Charles R Harris
<charlesr.harris at gmail.com> wrote:
>
>
> On Sun, Sep 26, 2010 at 9:56 PM, <josef.pktd at gmail.com> wrote:
>>
>> On Sun, Sep 26, 2010 at 11:42 PM,  <josef.pktd at gmail.com> wrote:
>> > On Sun, Sep 26, 2010 at 11:03 PM, Ben Longstaff
>> > <longstaff2009 at 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 at gmail.com> wrote:
>> >>>
>> >>> On Sun, Sep 26, 2010 at 9:57 PM, Ben Longstaff
>> >>> <longstaff2009 at 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.

matlab\mio5.py:90: RuntimeWarning   was reported during scipy 0.8 rc2 testing

I don't know which warnings were silenced

Josef

>
> Chuck
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>



More information about the NumPy-Discussion mailing list