Are you running "django-admin.py startproject projectname" within the python interpreter? Its supposed to run outside of the interpreter on the command line.
On Jan 4, 3:17 pm, Phil <phil...@gmail.com> wrote: > Hi all, > > I am having a setup issue on my personal laptop, I got through setup > and couple of tutorials on my Mac in work but not having any joy at > home. I'm running Ubuntu 10.04 Lucid Lynx. > > I run "import django" and I don't get any errors back so I thought I > was OK, but when I run "django-admin.py startproject projectname" I > get back an error saying... > > "File <stdin>", line 1....django-admin.py startproject > projectname......Error: invalid syntax" > > I'm running on python 2.6.5, I had python3 installed and got rid of it > encase it was conflicting, basically my question is were do I need to > start looking, I must be missing something but I'm not sure were to > start. Any advice I could get would be magic as it's my new year > resolution to be efficient django man by end of year, not off to a > great start :( -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.