List Info

Thread: Error During Django Install on Mac




Error During Django Install on Mac
country flaguser name
United States
2007-10-24 01:25:53
I am new at this so I apologize if this is a stupid
question...

Why do I keep getting a permission denied error when I run
the
following:

jnap:~ jnap$ ln -s
/usr/local/lib/python2.3/site-packages/django_src/
django/bin/django-admin.py /usr/local/bin/django-admin.py
ln: /usr/local/bin/django-admin.py: Permission denied

Thanks for your help!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error During Django Install on Mac
country flaguser name
United States
2007-10-24 01:29:11
Here is my current bash_profile in case you need it:


# Setting PATH for MacPython 2.5
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Cur
rent/bin:$
"
export PATH=$PATH:/usr/local/bin






On Oct 24, 2:25 am, jnap <jasonnapolit...gmail.com> wrote:
> I am new at this so I apologize if this is a stupid
question...
>
> Why do I keep getting a permission denied error when I
run the
> following:
>
> jnap:~ jnap$ ln -s
/usr/local/lib/python2.3/site-packages/django_src/
> django/bin/django-admin.py
/usr/local/bin/django-admin.py
> ln: /usr/local/bin/django-admin.py: Permission denied
>
> Thanks for your help!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error During Django Install on Mac
user name
2007-10-24 01:32:50

On 24-Oct-07, at 11:55 AM, jnap wrote:

> jnap:~ jnap$ ln -s
/usr/local/lib/python2.3/site-packages/django_src/
> django/bin/django-admin.py
/usr/local/bin/django-admin.py
> ln: /usr/local/bin/django-admin.py: Permission denied

you have to do it as root

-- 

regards
kg
http://lawgon.livejourn
al.com
http://nrcfosshelpline
.in/web/



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error During Django Install on Mac
country flaguser name
United States
2007-10-24 01:36:03
sorry for another dumb question...but how do i do it as
root?

On Oct 24, 2:32 am, Kenneth Gonsalves <law...thenilgiris.com> wrote:
> On 24-Oct-07, at 11:55 AM, jnap wrote:
>
> > jnap:~ jnap$ ln -s
/usr/local/lib/python2.3/site-packages/django_src/
> > django/bin/django-admin.py
/usr/local/bin/django-admin.py
> > ln: /usr/local/bin/django-admin.py: Permission
denied
>
> you have to do it as root
>
> --
>
> regards
> kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.i
n/web/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error During Django Install on Mac
country flaguser name
United States
2007-10-24 01:45:20
anyone?

On Oct 24, 2:36 am, jnap <jasonnapolit...gmail.com> wrote:
> sorry for another dumb question...but how do i do it as
root?
>
> On Oct 24, 2:32 am, Kenneth Gonsalves <law...thenilgiris.com> wrote:
>
> > On 24-Oct-07, at 11:55 AM, jnap wrote:
>
> > > jnap:~ jnap$ ln -s
/usr/local/lib/python2.3/site-packages/django_src/
> > > django/bin/django-admin.py
/usr/local/bin/django-admin.py
> > > ln: /usr/local/bin/django-admin.py:
Permission denied
>
> > you have to do it as root
>
> > --
>
> > regards
> > kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.i
n/web/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error During Django Install on Mac
country flaguser name
Indonesia
2007-10-24 01:48:50
No offense but uh, RTFM?

(Protip: man sudo, man su)


On 24/10/2007, at 1:45 PM, jnap wrote:

>
> anyone?
>
> On Oct 24, 2:36 am, jnap <jasonnapolit...gmail.com> wrote:
>> sorry for another dumb question...but how do i do
it as root?
>>
>> On Oct 24, 2:32 am, Kenneth Gonsalves
<law...thenilgiris.com> wrote:
>>
>>> On 24-Oct-07, at 11:55 AM, jnap wrote:
>>
>>>> jnap:~ jnap$ ln -s
/usr/local/lib/python2.3/site-packages/ 
>>>> django_src/
>>>> django/bin/django-admin.py
/usr/local/bin/django-admin.py
>>>> ln: /usr/local/bin/django-admin.py:
Permission denied
>>
>>> you have to do it as root
>>
>>> --
>>
>>> regards
>>> kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.i
n/web/
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error During Django Install on Mac
country flaguser name
United States
2007-10-24 02:01:25
Don't know what RTFM means but sudo works.

Now I get this error: -bash: django-admin.py: command not
found when I
run django-admin.py startproject testproject

I suppose I am running it from the wrong directory but I
have tried
multiple ones and I get the same result with each try.


On Oct 24, 2:48 am, Ben van Staveren <benvanstave...gmail.com> wrote:
> No offense but uh, RTFM?
>
> (Protip: man sudo, man su)
>
> On 24/10/2007, at 1:45 PM, jnap wrote:
>
>
>
> > anyone?
>
> > On Oct 24, 2:36 am, jnap <jasonnapolit...gmail.com> wrote:
> >> sorry for another dumb question...but how do i
do it as root?
>
> >> On Oct 24, 2:32 am, Kenneth Gonsalves
<law...thenilgiris.com> wrote:
>
> >>> On 24-Oct-07, at 11:55 AM, jnap wrote:
>
> >>>> jnap:~ jnap$ ln -s
/usr/local/lib/python2.3/site-packages/
> >>>> django_src/
> >>>> django/bin/django-admin.py
/usr/local/bin/django-admin.py
> >>>> ln: /usr/local/bin/django-admin.py:
Permission denied
>
> >>> you have to do it as root
>
> >>> --
>
> >>> regards
> >>> kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.i
n/web/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error During Django Install on Mac
user name
2007-10-24 04:20:04
Please could you run the following command in your terminal,
and paste
the output into your reply:

echo $PATH

--Jon

On 10/24/07, jnap <jasonnapolitanogmail.com> wrote:
>
> Don't know what RTFM means but sudo works.
>
> Now I get this error: -bash: django-admin.py: command
not found when I
> run django-admin.py startproject testproject
>
> I suppose I am running it from the wrong directory but
I have tried
> multiple ones and I get the same result with each try.
>
>
> On Oct 24, 2:48 am, Ben van Staveren
<benvanstave...gmail.com> wrote:
> > No offense but uh, RTFM?
> >
> > (Protip: man sudo, man su)
> >
> > On 24/10/2007, at 1:45 PM, jnap wrote:
> >
> >
> >
> > > anyone?
> >
> > > On Oct 24, 2:36 am, jnap
<jasonnapolit...gmail.com> wrote:
> > >> sorry for another dumb question...but how
do i do it as root?
> >
> > >> On Oct 24, 2:32 am, Kenneth Gonsalves
<law...thenilgiris.com> wrote:
> >
> > >>> On 24-Oct-07, at 11:55 AM, jnap
wrote:
> >
> > >>>> jnap:~ jnap$ ln -s
/usr/local/lib/python2.3/site-packages/
> > >>>> django_src/
> > >>>> django/bin/django-admin.py
/usr/local/bin/django-admin.py
> > >>>> ln:
/usr/local/bin/django-admin.py: Permission denied
> >
> > >>> you have to do it as root
> >
> > >>> --
> >
> > >>> regards
> > >>> kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.i
n/web/
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error During Django Install on Mac
country flaguser name
United States
2007-10-24 04:37:04

On 24-Oct-07, at 12:15 PM, jnap wrote:

>
> anyone?
>
> On Oct 24, 2:36 am, jnap <jasonnapolit...gmail.com> wrote:
>> sorry for another dumb question...but how do i do
it as root?

on ubuntu - type sudo ln -s etc
on other distros type su, press enter and enter the root
password and  
then execute the command

-- 

regards
kg
http://lawgon.livejourn
al.com
http://nrcfosshelpline
.in/web/



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error During Django Install on Mac
country flaguser name
United States
2007-10-24 04:38:22

On 24-Oct-07, at 12:31 PM, jnap wrote:

> Now I get this error: -bash: django-admin.py: command
not found when I
> run django-admin.py startproject testproject

sudo ln -s pathtodjango/bin/django-admin.py
/usr/bin/django-admin.py

-- 

regards
kg
http://lawgon.livejourn
al.com
http://nrcfosshelpline
.in/web/



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-10] [11-12]

about | contact  Other archives ( Real Estate discussion Medical topics )