Saturday, September 21, 2013

Re: Help with Django installation on windows

you should use pip to install python packages, after you have pip you can use "pip install django"

eventually it is worth to take a look at virtualenv so you can have separate environments and packages for each project

in any case you should use "python django-admin.py startproject mysite" assuming python is on path and also django-admin.py
if not you may use the full path for both:

c:\python27\python.exe c:\python27\scripts\django-admin.py



On Sat, Sep 21, 2013 at 11:27 PM, Poom Buncha <pbuncha09@gmail.com> wrote:
Hi all
 
First off, I like to say that I am a beginner to everything related to computing. So I have to appologize a head of time if what I am asking is common sense.
I'm trying to install Django on my windows computer
 
So I install Python 2.7 (and went throught the tutorial)
I downloaded the django tar file. and extracted the content using 7zip program.
I did not know where to put it so I put it into the Python folder
 
when I open up a comand prompt for python I type in "import django" and "django.get_version()" those commands seem to run fine
but when I type in  
"django-admin.py startproject mysite" I get an error message that say the name admin is not define. Can you tell me what I am doing wrong?
 
Thank you for any help you can provide. And if anyone have any tip and best practices that they can share with me about getting started in Django it will be greatly appreciated
Poom B

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate