1👍
✅
The easiest way to fix it is to change the first line in your ./manage.py
to
#!/usr/bin/env python3
However it is much better to use virtualenv
to manage all your python environments.
0👍
Also you can point desired version of python:
python3 manage.py ...
…or even:
/usr/bin/python3 manage.py ....
Source:stackexchange.com