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


Groups > comp.lang.python > #38983

Help with creating django-admin.py file

X-Received by 10.66.77.231 with SMTP id v7mr1185364paw.35.1360980241520; Fri, 15 Feb 2013 18:04:01 -0800 (PST)
X-Received by 10.50.7.244 with SMTP id m20mr328919iga.14.1360980241477; Fri, 15 Feb 2013 18:04:01 -0800 (PST)
Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!news.snarked.org!newsfeed.news.ucla.edu!usenet.stanford.edu!su1no5328872pbb.0!news-out.google.com!ov8ni9pbb.1!nntp.google.com!su1no5328867pbb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Fri, 15 Feb 2013 18:04:01 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=199.80.152.212; posting-account=GKrKWAkAAACgkIphlXi-vvA2M-PBmT2E
NNTP-Posting-Host 199.80.152.212
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <5239c04e-1cbb-4c4d-8002-8bc0416ed398@googlegroups.com> (permalink)
Subject Help with creating django-admin.py file
From Yoni201 <yonatano@gmail.com>
Injection-Date Sat, 16 Feb 2013 02:04:01 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.python:38983

Show key headers only | 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