Django

Jasper Frumau jasperfrumau at gmail.com
Fri Jan 22 07:41:21 PST 2010


I thought I installed Django:

Jaspers-MacBook-Pro:~ jasper$ sudo port install py-django
Password:
--->  Computing dependencies for py-django
--->  Fetching python24
--->  Attempting to fetch Python-2.4.6.tar.bz2 from
http://arn.se.distfiles.macports.org/python24
--->  Attempting to fetch Python-2.4.6.tar.bz2 from
ftp://ftp.python.org/pub/python/2.4.6/
--->  Attempting to fetch Python-2.4.6.tar.bz2 from
http://www.python.org//ftp/python/2.4.6/
--->  Verifying checksum(s) for python24
--->  Extracting python24
--->  Applying patches to python24
--->  Configuring python24
--->  Building python24
--->  Staging python24 into destroot
--->  Installing python24 @2.4.6_4+darwin+darwin_10+macosx
--->  Activating python24 @2.4.6_4+darwin+darwin_10+macosx

To fully complete your installation and make python 2.4 the default, please
run

    sudo port install python_select
    sudo python_select python24

--->  Cleaning python24
--->  Fetching py-setuptools
--->  Verifying checksum(s) for py-setuptools
--->  Extracting py-setuptools
--->  Configuring py-setuptools
--->  Building py-setuptools
--->  Staging py-setuptools into destroot
--->  Installing py-setuptools @0.6c11_0
--->  Activating py-setuptools @0.6c11_0
--->  Cleaning py-setuptools
--->  Fetching py-django
--->  Attempting to fetch Django-1.1.1.tar.gz from
http://arn.se.distfiles.macports.org/python
--->  Attempting to fetch Django-1.1.1.tar.gz from
http://distfiles.macports.org/python
--->  Verifying checksum(s) for py-django
--->  Extracting py-django
--->  Configuring py-django
--->  Building py-django
--->  Staging py-django into destroot
--->  Installing py-django @1.1.1_0
--->  Activating py-django @1.1.1_0
--->  Cleaning py-django
Jaspers-MacBook-Pro:~ jasper$ pot installed python
-bash: pot: command not found
Jaspers-MacBook-Pro:~ jasper$ pot installed grep | python
-bash: pot: command not found
Jaspers-MacBook-Pro:~ jasper$ port installed | grep python
  python24 @2.4.6_4+darwin+darwin_10+macosx (active)
  python25 @2.5.4_8+darwin_10+macosx
  python25 @2.5.4_9+darwin+darwin_10+macosx (active)
  python26 @2.6.3_1+darwin
  python26 @2.6.4_0+darwin (active)
Jaspers-MacBook-Pro:~ jasper$ django-admin.py startproject
-bash: django-admin.py: command not found

But when I run django-admin.py the command is not found. Any ideas why?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100122/a3613443/attachment.html>


More information about the macports-users mailing list