What causes Python "Interpreter not Initialized" error?
Posted
by
?????
on Stack Overflow
See other posts from Stack Overflow
or by ?????
Published on 2011-01-02T17:42:29Z
Indexed on
2011/01/02
17:53 UTC
Read the original article
Hit count: 189
I'm now on my third full day this week of trying to get OpenCV to work with Python. (I have been trying on and off for the past 6 months).
I get this error
Python 2.7.1 (r271:86882M, Nov 30 2010, 10:35:34)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
dlopen("/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so", 2);
import readline # dynamically loaded from /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so
>>> import cv
dlopen("./cv.so", 2);
Fatal Python error: Interpreter not initialized (version mismatch?)
and then it crashes (core dumps). python -v gives nothing after the dlopen.
Any ideas from anyone who actually knows about this error?
© Stack Overflow or respective owner