Quick and dirty solution:
python django-admin.py startproject mysite
or
Add C:\PathToYourDjangoInstall\Scripts\ to your PATH environment variable.
This can be done in one of two ways.
#1 (EASIER)
Open 'System Properties' (hit WindowsKey + PauseBreak, or right-click on My
Computer and select 'Pro
Oh Axel, sorry about that ^_^;
The tutorial said I should cd to the directory I want to start my
project.
So no I wasn't in C:\Python27\Scripts when I typed the command
On Jan 30, 2:05 am, Axel Bock wrote:
> you should not. are you IN c:\...\scripts when you type in
> "django-admin.py"? AFAIK wi
you should not. are you IN c:\...\scripts when you type in
"django-admin.py"? AFAIK windows adds the current directory always to the
path.
and it's AXEL ;)
2011/1/29 Panupat
> Hi Alex. Thank you for you suggestion.
>
> It seems I can get the script to run if I type out the full path.
>
> C:\P
Hi Alex. Thank you for you suggestion.
It seems I can get the script to run if I type out the full path.
C:\Python27\Scripts\django-admin.py startprofect mysite
C:\Python27 is already added to my windows' PATH. Proably will need to
add C:\Python27\Scripts to it too.
On Jan 30, 1:44 am, Axel Bo
hm ... my windows times are over quite a while, BUT ...
1) try associating the .py extension with the python commandline
interpreter.
2) syntax error? send a screendump maybe, or your exact command line ... it
_should_ work without problems.
can you execute other simple python scripts?
cheers,
I'm kinda stuck and would greatly appreciate any help.
I followed these turorials and got Django to install. Was able to
import Django and print out the version correctly. I'm running
Apache2.2 on windows 7 with mod_wsgi
http://docs.djangoproject.com/en/1.2/intro/install/
But moving forward to p
6 matches
Mail list logo