Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #38983

Help with creating django-admin.py file

Newsgroups comp.lang.python
Date 2013-02-15 18:04 -0800
Message-ID <5239c04e-1cbb-4c4d-8002-8bc0416ed398@googlegroups.com> (permalink)
Subject Help with creating django-admin.py file
From Yoni201 <yonatano@gmail.com>

Show all headers | View raw


Hello everyone,

I am trying to follow this tutorial:
https://docs.djangoproject.com/en/1.4/topics/install/#installing-official-release

I am on step 3 as of now (scroll down a little bit to see it).

For some reason when I run the code in terminal I get: 
zsh: permission denied: /Library/Python/2.7/site-packages/django.pth

Here is my terminal with path information and everything:

Yonatan-Orens-MacBook-Pro-2% echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin
Yonatan-Orens-MacBook-Pro-2% which django-admin.py
django-admin.py not found
Yonatan-Orens-MacBook-Pro-2% python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"
/Library/Python/2.7/site-packages
Yonatan-Orens-MacBook-Pro-2% echo documents/django/trunk/django-trunk > /Library/Python/2.7/site-packages/django.pth
zsh: permission denied: /Library/Python/2.7/site-packages/django.pth


Would anyone be able to help me resolve this issue?


Thank you for your time,

Yoni201.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Help with creating django-admin.py file Yoni201 <yonatano@gmail.com> - 2013-02-15 18:04 -0800

csiph-web