[NumPy-Tickets] [NumPy] #2103: Binary incompatibility warning
NumPy Trac
numpy-tickets@scipy....
Sat Apr 14 02:29:19 CDT 2012
#2103: Binary incompatibility warning
-------------------------------+--------------------------------------------
Reporter: fonnesbeck_chris | Owner: somebody
Type: defect | Status: closed
Priority: normal | Milestone: Unscheduled
Component: Other | Version: 1.6.1
Resolution: invalid | Keywords:
-------------------------------+--------------------------------------------
Old description:
> I have built numpy from the master branch source today (I make new builds
> every couple of weeks), and am seeing a new warning that I have not seen
> before:
>
> In [1]: import numpy
> /Library/Python/2.7/site-
> packages/numpy-1.7.0.dev_0c5f480_20120412-py2.7-macosx-10.7-x86_64.egg/numpy/random/__init__.py:91:
> RuntimeWarning: numpy.ndarray size changed, may indicate binary
> incompatibility
> from mtrand import *
>
> I am using the same build script as I always do. I am on OS X 10.7.3, and
> am using the following env variables:
>
> export MACOSX_DEPLOYMENT_TARGET=10.7
> export CFLAGS="-arch x86_64"
> export ARCHFLAGS="-arch x86_64"
> export FFLAGS="-static -ff2c"
> export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch x86_64"
> export PYTHONPATH="/Library/Python/2.7/site-packages/"
> export CC=gcc-4.2
> export CXX=g++-4.2
>
> Again, nothing has changed here since last I built the package, which did
> not have this message last time.
New description:
I have built numpy from the master branch source today (I make new builds
every couple of weeks), and am seeing a new warning that I have not seen
before:
{{{
In [1]: import numpy
/Library/Python/2.7/site-
packages/numpy-1.7.0.dev_0c5f480_20120412-py2.7-macosx-10.7-x86_64.egg/numpy/random/__init__.py:91:
RuntimeWarning: numpy.ndarray size changed, may indicate binary
incompatibility
from mtrand import *
}}}
I am using the same build script as I always do. I am on OS X 10.7.3, and
am using the following env variables:
export MACOSX_DEPLOYMENT_TARGET=10.7
export CFLAGS="-arch x86_64"
export ARCHFLAGS="-arch x86_64"
export FFLAGS="-static -ff2c"
export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch x86_64"
export PYTHONPATH="/Library/Python/2.7/site-packages/"
export CC=gcc-4.2
export CXX=g++-4.2
Again, nothing has changed here since last I built the package, which did
not have this message last time.
--
Comment(by rgommers):
It's strange though that you get this warning when importing numpy itself.
It should come from another package compiled against older numpy, that
then sees a change in numpy.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/2103#comment:2>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list