« Return to Thread: py2app version mismatch while including a library built with Pyrex

Re: py2app version mismatch while including a library built with Pyrex

by Christopher Barker :: Rate this Message:

Reply to Author | View in Thread

Derrick Hendricks wrote:

> Here's the current setup of my machine.  I'm using the python 2.4 that I
> got from python.org <http://python.org> and py2app.  In the Makefile I
> use to compile the library, I use python 2.4.

This is probably the source of your problem -- you really want to use
distutils to compile your extensions -- it will get all this right, and
probably avoid your problem.

> 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.  

Well, somewhere in there you probably are somehow running py2app with a
different python that you're building your extension against.

How many version of python do you have installed? you might try cleaning
out any extras (build-from-tarball, macports, fink, etc...)

-Chris



--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker@...
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@...
http://mail.python.org/mailman/listinfo/pythonmac-sig

 « Return to Thread: py2app version mismatch while including a library built with Pyrex