[Pythonmac-SIG] Re: Pythonmac-SIG Digest, Vol 20, Issue 24 (original) (raw)

Ronald Oussoren ronaldoussoren at mac.com
Mon Dec 20 17:42:23 CET 2004


208-186-56-189:/sw/bin jis$ cat /sw/bin/idle2.3 #!/sw/bin/python

Which python is first on your path? IIRC there is a feature in darwin that wreaks havoc with the setup code in python that finds the correct prefix (and library). This ends up always picking the prefix for the first python on the path. Darwinports contains a patch for that. Using "#!/usr/bin/env /sw/bin/python" should also work.

Ronald



More information about the Pythonmac-SIG mailing list