django-admin.py the system cannot execute the specified program

86 views
Skip to first unread message

about2flip

unread,
Sep 13, 2009, 3:09:30 PM9/13/09
to Django users
I am learning django, and I am having doubts if it is worth it. I am
trying to startproject and I keep getting the system cannot execute
the specified program error at my command prompt. I would type:

django-admin.py startproject name

and then I get the error. I am using python 2.6, django 1.1 on XP SP2
machine.

Thanks for your help on what to do to fix this issue

Karen Tracey

unread,
Sep 13, 2009, 10:29:08 PM9/13/09
to django...@googlegroups.com

"Cannot execute the specified program" generally means the system can't find some DLL needed for the program.  Django doesn't have any DLLs, so I suspect your python installation may be the cause of the problem.  Can you run any python program?  For example if you create a hello.py file with contents:

print 'hello'

Can you run it?

Karen

about2flip

unread,
Sep 14, 2009, 3:50:22 AM9/14/09
to Django users
Thanks for reply. No I get:
SyntaxError: unexpected character after line continuation character

I am running it from my command prompt:>>python hello.py

Is that correct?

Peter Bengtsson

unread,
Sep 14, 2009, 7:09:40 AM9/14/09
to Django users
about2flip
You have to go through the python tutorial I'm afraid.
Python files must be written in plain text so you have to use
something like Notepad.
Reply all
Reply to author
Forward
0 new messages