On Feb 1, 2:05 am, omat <[EMAIL PROTECTED]> wrote:
> When I install Django on Leopard, py files went into:
> /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
> site-packages/django/

If you are running Python 2.5.1 that ships with Leopard,then the
directory:

  /System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages

should not exist and Python will not look in there.

> And template htmls, etc. went into:
> /Library/Python/2.5/site-packages/django/

Instead Python will look here in:

  /Library/Python/2.5/site-packages

So, if you have a site-packages under:

  /System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5

something has screwed up your installation.

Did you create the site-packages directory in that location, or do you
know what created it?

Graham

> This resulted in some weird behavior such as templates of contrib
> applications such as admin not being located.
>
> My patch for this was to create a symlink as follows:
> sudo ln -s /System/Library/Frameworks/Python.framework/Versions/2.5/
> lib/python2.5/site-packages /Library/Python/2.5/site-packages
>
> and then install Django.
>
> Thought this may save some time for ones having this problem.
>
> I would like to hear if there are any better approaches.
>
> oMat
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to