[Tutor] Installation of Django on Mac Tiger

Kent Johnson kent37 at tds.net
Sat Aug 11 04:35:01 CEST 2007


David Handel wrote:
> Hi Kent,
> I'm not having much luck.  I placed the Django 0.96 folder in /Library 

Better to put it in a Download folder or some such, it doesn't need to 
be in Library. Not a big deal though.

> and then ran the following session:
> Last login: Fri Aug 10 16:58:58 on ttyp1
> Welcome to Darwin!
> david-handels-computer:~ davidHandel$ cd Library
> david-handels-computer:~/Library davidHandel$ python setup.py install

This is the right command, but you have to be in the dir that contains 
setup.py when you give it. I.e. from Library,
$ cd Django-0.96
$ python setup.py install

> /Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: 
> can't open file 'setup.py': [Errno 2] No such file or directory
> david-handels-computer:~/Library davidHandel$ python
> Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04)
> [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> setup.py install

This is not the right way to do it.

Kent

PS Please use Reply All to reply to the list.


More information about the Tutor mailing list