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,
axel.
2011/1/29 Panupat <panupatc@gmail.com>
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 part 1, It says, cd to the directory and run the
command
django-admin.py startproject mysite
This is where I don't understand.
- running the command from cmd, it says django-admin.py is not
recognized as command.
- if I run python first, it says syntax error.
Am I missing something from the tutorial? Does the project need to be
in a particular folder in order for the .py file to be executable? Is
there anything else I need to add to windows other than adding C:
\Python27 to PATH?
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment