[Pythonmac-SIG] Easy way to avoid Fatal Python error: Interpreter not initialized (version mismatch?)
Ivan Vilata i Balaguer
ivilata at carabos.com
Thu Jul 26 08:48:57 CEST 2007
Ronald Oussoren (el 2007-07-25 a les 21:33:28 +0200) va dir::
> Your instructions are technically valid, but...
>
> The right way (TM) to fix this is to change the project that uses '-
> framework Python' to link extensions because that is not the
> recommended way to link extensions on OSX. The best way to build
> extensions is using distutils, but that isn't always convenient in a
> large project that already has a different build infrastructure. In
> that case I'd copy the link flags used by distutils into the existing
> build infrastructure.
> [...]
Very interesting. In fact I encountered this problem when building
SIP_, which uses a set of automatically generated makefiles instead of
distutils for building and installing. But I also noticed that some
people using PyQt, PyKDE and others have experienced similar problems.
.. _sip: http://www.riverbankcomputing.co.uk/sip/index.php
Mine was just a quick & dirty fix for casual users trying to build a
package, let's hope that developers come across your explanation! :)
I may get in contact with the author of SIP as well...
::
Ivan Vilata i Balaguer >qo< http://www.carabos.com/
Cárabos Coop. V. V V Enjoy Data
""
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20070726/3cad5be7/attachment.pgp
More information about the Pythonmac-SIG
mailing list