Invalid syntax on line 16 of manage.py

338 views
Skip to first unread message

Douglas Ii

unread,
Jul 20, 2020, 5:58:32 AM7/20/20
to Django users
While following the tutorial for creating your first Django app, I run into a problem when entering the command line "python manage.py runserver" into my terminal. I am using a mac and I get the Error message:


File "manage.py", line 16

    ) from exc

         ^

SyntaxError: invalid syntax


What can I do to resolve this issue

Larry Martell

unread,
Jul 20, 2020, 6:09:38 AM7/20/20
to django...@googlegroups.com
What version of python do you have? What version of django? How did
you install django?

Arpana Mehta

unread,
Jul 20, 2020, 6:18:44 AM7/20/20
to django...@googlegroups.com
Creating a virtual environment and then working might solve this issue.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/834b6043-1440-48a6-9d86-a22322f10847o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages