Hello,<br><br>I haven't tried packaging an app on a Mac before, so I'm not sure what's going on. I've got this program that I'm trying to package using my 10.5 Leopard machine. It uses an external library that's created using Pyrex.<br>
<br>Here's the current setup of my machine. I'm using the python 2.4 that I got from <a href="http://python.org">python.org</a> and py2app. In the Makefile I use to compile the library, I use python 2.4. Now, when I run py2app to create the bundle, py2app completes successfully. And, I am creating what is supposed to be a "standalone" version of the app. When going back and running the app, the app runs just fine until it tries to access the library. At that point, I get:<br>
<br>Fatal Python error: Interpreter not initialized (version mismatch?)<br><br><br>I have a .py program that I've run to check the library. When run under python 2.4, it executes correctly and I have no problems. So, I'm fairly confident that the library it's being created using python 2.4. I've run the same program specifying the 2.5 that comes with Leopard and I get the exact same error as I do when running from the app. So, what it looks like to me is that when the package tries to include the library, it's using the system python instead somehow. This doesn't make sense. I've put some debug code into the app, and when it starts up, it's using python 2.4 (presumably the one bundled in the app).<br>
<br>Any ideas what's happening and how I can solve this one?<br><br>Thanks<br>