check your python version, it should be higher than 3.10
python --version
if not, please install via
brew install python@3.10
use virtualenv as env manager for python, and run the following commands to init env and install dependencies.
pip install virtualenv
npm run venv:init
source .venv/bin/activate
npm run venv:which & npm run lint
# for dev mode
cp .env.example .env
# for test mode
cp .env.example .env.test