[Pythonmac-SIG] pth file location

Scott Frankel leknarf at pacbell.net
Fri Sep 16 18:05:09 CEST 2005


Still bad magic.

Where should .pth files be placed for 3rd party modules to be found?   
My attempts (latest:  
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- 
packages/my_3rd_party.pth) is still leading to bad magic errors.  The  
path printed by the err msg does not correspond to the path specified  
in the .pth file.

This is on a system upgraded from 10.3 to 10.4 and python 2.3 to 2.4.1  
yesterday.  I've installed TigerPython24Fix and TigerPython23Compat.

Thanks in advance!
Scott


On Sep 15, 2005, at 5:27 PM, Scott Frankel wrote:

>
> Where do .pth files go in python 2.4.1 running on osx 10.4.2?
>
> My best guess (after a few not-so-good-ones) was:
>
> 	/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-
> packages/
>
> But my python is still looking in the wrong place for its newly
> compiled modules.
>
> Thanks in advance!
> Scott
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>



More information about the Pythonmac-SIG mailing list