Jamie Pittock wrote:
> Thank you Gordon (and Joshua) that's really useful.
> 
> I think I'll use the site-packages folder then.  After doing what you
> said I've noticed I seem to have multiple installs of Python on my
> machine (OSX).
> 
> /usr/lib/python2.5/
> /Library/Python/2.5/
> /opt/local/lib/python2.5/
> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/
> (currently being used)
> 
> This is probably due in part to upgrading to Leopard and it changing
> the location, maybe?
> 
> I presume again it doesn't matter which of these I use aslong as I'm
> consistent?

It does matter, each Python installation is an 'Island'.

Figure out which Python is default.
   # this gives you the version
   python -V
   # this tells you were it is (and around where setup.py install will 
put its files)
   which python

If the default is 
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/bin/python 
but you want to use /usr/local/python2.5/bin/python instead then you 
must make sure you run the correct python when doing installs and when 
running manage.py.

you can use the full path every time
   /usr/local/python2.5/bin/python setup.py install

or you can use an alias (I suggest adding to your .bashrc or similar file)
   alias python=/usr/local/python2.5/bin/python



-- 
Norman J. Harman Jr.
Senior Web Specialist, Austin American-Statesman
___________________________________________________________________________
You've got fun!  Check out Austin360.com for all the entertainment
info you need to live it up in the big city!

--~--~---------~--~----~------------~-------~--~----~
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