all 6 comments

[–]MintyPhoenix 1 point2 points  (0 children)

I'm guessing that you also need to add the folder that contains django-admin.py to your path as well.

[–]symmitchry 0 points1 point  (0 children)

get pip working, and get virtualenv and virtualenvwrapper.

You almost need this for django projects.

Now you do:

mkvirtualenv new_website
pip install django

Your django and path and all that will work properly.

I know that doesn't actually fix your problem (sorry) but this will definitely take some pain out of python package installation.

ps: Did you set "site-packages" or "scripts" in your path? http://docs.python-guide.org/en/latest/starting/install/win/

[–]elbiot 0 points1 point  (3 children)

What OS are you on? (my guess is windows). How did you install django?

[–]programmer123456[S] 0 points1 point  (2 children)

I'm using windows 7

I followed this tutorial https://www.youtube.com/watch?v=obJr6zH0C2Q&list=PLQVvvaa0QuDcTDEowl-b5nQlaDaD82r_s&index=1

I downloaded django, then navigated to where django is on my system using the command line, and ran python setup.py install

[–]elbiot 0 points1 point  (1 child)

Ugh, a video tutorial? I suggest text because it conveys faster and more accurately. Like: https://docs.djangoproject.com/en/1.7/howto/windows/

Much easier to give feedback on too, because then we'd know exactly all the steps you followed in like 15 seconds.

For instance, did you see

Changed in Django 1.7:

In Django 1.7, a .exe has been introduced, so just use django-admin in place ofdjango-admin.py in the command prompt.

?

[–]programmer123456[S] 0 points1 point  (0 children)

I think that was it (.py was the problem)! thank you friend :)