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!
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) Josef
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
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) 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)
Josef
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
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.) 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)
Josef
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
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)
Josef
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
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
On Mon, Sep 27, 2010 at 12:07 AM, Charles R Harris <charlesr.harris@gmail.com> wrote:
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.
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@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
On Mon, Sep 27, 2010 at 12:07 PM, Charles R Harris < charlesr.harris@gmail.com> wrote:
On Sun, Sep 26, 2010 at 11:03 PM, Ben Longstaff <longstaff2009@gmail.com> wrote:
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.
Hmm, missed this one, also can't reproduce it on either XP or OS X with the same numpy/scipy versions. If these warnings are platform-dependent shouldn't that be considered a Cython bug? Related commits are r6331 and r6512 in scipy. Ralf
Hello, Got the same error, working on windows 7, 64 bit... Does this help? Is there a solution available? Luc
On Fri, Nov 5, 2010 at 10:03 PM, Luc Dekoninck <luc.dekoninck@intec.ugent.be> wrote:
Hello,
Got the same error, working on windows 7, 64 bit...
Does this help? Is there a solution available?
It's not an error but a harmless (although confusing) warning message. You should be able to filter it by adding the following to scipy/__init__.py: import warnings warnings.filterwarnings(action='ignore', message='.*__builtin__.file size changed.*') Can you check if that works for you? Cheers, Ralf
It's not an error but a harmless (although confusing) warning message. You should be able to filter it by adding the following to scipy/__init__.py:
import warnings warnings.filterwarnings(action='ignore', message='.*__builtin__.file size changed.*')
Can you check if that works for you?
Worked on my system! osx 10.6.5, python 2.6, numpy 1.5.1, scipy 0.8! Need to add useless stuff to satisfy the condition that there be more newtext than quoted. Argh. And more: Your email address below has to be valid. An authorization email will be sent to you after posting. You have to reply to that message to confirm that you exist. After you've confirmed your existence, the message will then be forwarded to the mailing list.
participants (6)
-
Alexander Kain
-
Ben Longstaff
-
Charles R Harris
-
josef.pktd@gmail.com
-
Luc Dekoninck
-
Ralf Gommers