On 28 Dec, 2004, at 19:20, Jeff Whitaker wrote:

PROBLEM MANIFESTATION:
deksmacintosh:6-> env | grep PYTHON
PYTHONDOCS=/sw/share/doc/python24/Doc/html
PYTHONHOME=/sw/lib/python2.4
PYTHONPATH=.:/sw/lib/python2.4

This could be the problem - did you set the PYTHONHOME and PYTHONPATH env vars? Fink doesn't - perhaps they override your sys.prefix?

-Jeff

That's the problem. I 'unsetenv PYTHONPATH' in my .cshrc, did a 'fink rebuild python24', and now when I run 'python setup' the application goes into '/sw/lib/python24/site-packages.



Python 2.4 (#1, Dec 29 2004, 08:53:31) [GCC 3.3 20030304 (Apple Computer, Inc. build 1671)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> print sys.prefix /sw >>> print sys.exec_prefix /sw >>>

Thank you very much,

Evan



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to