We need to create a virtual env for our app to run in: More Here Run this command in whatever folder you want to create your venv folder
python -m venv ./venv
# Mac/Linux
source ./venv/bin/activate
# Windows
venv\Scripts\activate.bat - May need to add full path (c:\users\....venv\Scripts\activate.bat)
deactivate
pip freeze
pip install django
django-admin startproject PROJECTNAME
Run Server (http://127.0.0.1:8000) CTRL+C to stop
python manage.py runserver
python manage.py start app APPNAME
python manage.py makemigrations
python manage.py migrate
python manage.py collectstatic
If you don't want to you python2 (or not inside a virtual env), you can change you bashrc file making a alias so python = python 3. This works for linux based systems.
Place this into ~/.bashrc or ~/.bash_aliases file
alias python=python3
After adding the above in the file, run source ~/.bashrc or source ~/.bash_aliases.