permission denied eror

265 views
Skip to first unread message

Harjot Mann

unread,
Jul 27, 2012, 9:20:54 AM7/27/12
to django...@googlegroups.com

hello everyone

I installed django and its working under pyhton bt when i typed the follwing command
django-admin.py startproject mysite

im geting these errors

Traceback (most recent call last):
  File "/usr/local/bin/django-admin.py", line 5, in <module>
    management.execute_from_command_line()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
   
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 382, in execute
   
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 196, in run_from_argv
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 232, in execute
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/startproject.py", line 31, in handle
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/templates.py", line 156, in handle
IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/django/conf/project_template/manage.py'


dont why its occuring

pls help me as soon as possible

thnks in advance

Leandro Alves

unread,
Jul 27, 2012, 10:05:17 AM7/27/12
to django...@googlegroups.com
Did you try:

sudo django-admin.py startproject mysite

?

Rafael E. Ferrero

unread,
Jul 27, 2012, 10:06:26 AM7/27/12
to django...@googlegroups.com
Thats because you dont have django-admin.py in your pythonpath, in djangoproject documentation you have clearly explain how you can do this work.

See ya

2012/7/27 Harjot Mann <harjotm...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/lP-c18q1fuoJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
Rafael E. Ferrero
Claro: (03562) 15514856

Harjot Mann

unread,
Jul 28, 2012, 12:35:52 AM7/28/12
to django...@googlegroups.com
yes i tried it is creating a folder named mysite but inside this folder there are no files llike maange.py etc

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Fb8onC-VWz0J.

Harjot Mann

unread,
Jul 28, 2012, 1:12:43 AM7/28/12
to django...@googlegroups.com

Rafael E. Ferrero can u pls send me the link
Reply all
Reply to author
Forward
0 new messages