Interpreter Not Initialized (version mismatch?)

Ryan Jud Hughes rjhughes at
Mon Jan 17 20:27:30 CET 2005

I'm having trouble with python on MacOSX 10.3.  I wrote an extension module,
in C, and got it to compile and run just fine, in MacOSX 10.2, using the
MacPython 2.3 package that I downloaded.

But when I copied my stuff over to my computer that had MacOSX 10.3(.7), and
the out-of-the-box MacPython 2.3 that comes installed with it, I can no longer
use my extension module, or run any new ones that I compile.

It appears to compile just fine (I'm using the distutils to compile
it), but when I import it in my Python script, it says
"Fatal Error:  Interpreter not initialized (version mismatch?)"

I'm pretty sure I deleted all the copies of the version I compiled on my 10.2
machine.  Also, I don't seem to be able to create new modules from scratch.

What's going wrong here?  Am I doomed to never be able to create or run python
extension modules on my computer?
What can I download and install, to bring my versions in line?

Thank you.

More information about the Python-list mailing list