Install Django under the MacOS Sequoia (Under Brew)
Install "pipx"
brew install pipxbrew cleanup pipxInstall Django
It should install the latest version of Django
brew install django-completionbrew cleanup django-completionSet Django virtual environment
py -m venv myDjangoGet the activate myDjango
source myDjango/bin/activate (myDjango)Install the Django via pip
pip install DjangoRun the Django VE server
python manage.py runserver (Please note: This python is not the python you've installed in your MacOS - the python command here is in your Django virtual env)
Important: I normally put the the following codes in the "~/.zshrc" as below: (You can set this up before step 3 but not include "alias python='/Users/leixia/myDjango/bin/activate'"

Date
State