$ brew install python
$ brew link python@3.9
$ python3 --version
$ pip3 install --upgrade pip
$ pip3 install --user pipenv
$ pip3 install pytest pytest-cache
$ pip3 install 'python-language-server[all]'
$ python3 -m venv venv
$ . venv/bin/activate