Manage.py invaild syntax error in kali server
I have a django project I want to publish it on an ubuntu server when I activate the virtual environment and make python manage.py runserver:
File "manage.py",line 17
)from exc
^
SyntaxError:invalid syntax
I'm getting the same error in every command about manage.py, not just the run server. I tried the makemigrations and migrate commands, it didn't work.
I activated the virtual environment, it still didn't work I deleted django and reinstalled it still didn't work