django-admin startproject mysite showing invalid syntax

456 views
Skip to first unread message

Guntaka Jeevan

unread,
Dec 6, 2015, 2:11:03 PM12/6/15
to Django users
 i have installed django using pip from anaconda but when i type   django-admin startproject mysite it is showing   File "<stdin>", line 1     django-admin startproject mysite                             ^ SyntaxError: invalid syntax

Hugo Osvaldo Barrera

unread,
Dec 6, 2015, 2:32:08 PM12/6/15
to django...@googlegroups.com
 
On Sun, Dec 6, 2015, at 16:09, Guntaka Jeevan wrote:
 i have installed django using pip from anaconda but when i type   django-admin startproject mysite it is showing   File "<stdin>", line 1     django-admin startproject mysite                             ^ SyntaxError: invalid syntax
 
`django-admin` is a shell command, you should run it on your ordinary shell, not a python shell.
 
--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
 
--
Hugo Osvaldo Barrera
 
Reply all
Reply to author
Forward
0 new messages