#6695: how to install: site-packages not where the document says it is on OS X
--------------------------+-------------------------------------------------
Reporter: Michael S. | Owner: nobody
Status: new | Component: Documentation
Version: 0.96 | Resolution:
Keywords: | Stage: Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
--------------------------+-------------------------------------------------
Comment (by grahamd):
Your /usr/bin/python is correct and the framework directory is where
Python is installed. However, for whatever reason, Apple decided with
Python 2.5.1 on MacOS X Leopard not to have the site-packages (user
installed code) under the framework directory, but under
/Library/Python/2.5 instead. For a clean install of MacOS X there isn't
even an empty site-packages directory under the framework directory and
well behaved installers don't create one, but always use
/Library/Python/2.5/site-packages instead. If you look at sys.path, only
the site-packages directory under /Library/Python/2.5 should be listed.
This is in contrast to Python 2.3 on older MacOS X where the physical
site-packages directory was under the framework directory and
/Library/Python/2.3/site-packages was a symlink pointing back to the site-
packages directory under the framework directory. Yet, the sys.path listed
the site-packages under the framework directory and not that under
/Library/Python/2.3.
I guess where Apple is going with this is that user installed packages
aren't meant to be under /System/Library, only OS supplied code should be
here. Thus why they put site-packages under /Library instead.
--
Ticket URL: <http://code.djangoproject.com/ticket/6695#comment:4>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---