Django

Jasper Frumau jasperfrumau at gmail.com
Fri Jan 22 07:49:03 PST 2010


Thanks Daniel. Did did but still got the errors:

Jaspers-MacBook-Pro:~ jasper$ sudo port install python_select
--->  Computing dependencies for python_select
--->  Fetching python_select
--->  Attempting to fetch select-0.3.tar.gz from
http://arn.se.distfiles.macports.org/python_select
--->  Attempting to fetch select-0.3.tar.gz from
http://distfiles.macports.org/python_select
--->  Verifying checksum(s) for python_select
--->  Extracting python_select
--->  Configuring python_select
--->  Building python_select
--->  Staging python_select into destroot
--->  Installing python_select @0.3_0+darwin_10
--->  Activating python_select @0.3_0+darwin_10
--->  Cleaning python_select
Jaspers-MacBook-Pro:~ jasper$ sudo python_select python24
Selecting version "python24" for python
Jaspers-MacBook-Pro:~ jasper$ django-admin.py startproject
-bash: django-admin.py: command not found


On Fri, Jan 22, 2010 at 6:45 PM, Daniel J. Luke <dluke at geeklair.net> wrote:

> On Jan 22, 2010, at 10:41 AM, Jasper Frumau wrote:
> > 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
>
> ^^^^^^
> You have to do that part too.
>
> > --->  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?
> > _______________________________________________
> > macports-users mailing list
> > macports-users at lists.macosforge.org
> > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
> --
> Daniel J. Luke
> +========================================================+
> | *---------------- dluke at geeklair.net ----------------* |
> | *-------------- http://www.geeklair.net -------------* |
> +========================================================+
> |   Opinions expressed are mine and do not necessarily   |
> |          reflect the opinions of my employer.          |
> +========================================================+
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100122/6e927cea/attachment.html>


More information about the macports-users mailing list