Try removing numpy and openCV (and associated files) from
/usr/local/lib/python2.7/dist-packages or wherever you originally
compiled it too. Then rebuild numpy and openCV. Probably openCV was
compiled with a different version of numpy at the time of compilation.
Just a guess but removing and rebuild should work.
Cheers,
Jeff
On 05/25/2011 09:22 AM, Kathleen M Tacina wrote:
I get the following runtime error when I import numpy: "module
compiled against ABI version 2000000 but this version of numpy is
1000009" (see below).
Python 2.7.1 (r271:86832, May 20 2011, 14:41:42)
[GCC 4.4.0 20090514 (Red Hat 4.4.0-6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
RuntimeError: module compiled against ABI version 2000000 but this
version of numpy is 1000009
>>> np.version.version
'2.0.0.dev-3071eab'
>>>
This error doesn't seem to effect the operation of numpy --- most
tests in np.test('full') pass and most of the numpy functions I used
regularly work --- but it causes the import of opencv to fail.
>>> import cv
RuntimeError: module compiled against ABI version 2000000 but this
version of numpy is 1000009
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: numpy.core.multiarray failed to import
>>> import numpy.core.multiarray
>>> numpy.core.multiarray.arange(5)
array([0, 1, 2, 3, 4])
>>>
Thanks for any help you can give me with this.
Kathy
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion