Python
> Python local setup
https://chrisamico.com/blog/2023-01-14/python-setup
- Use Homebrew to install
pyenv
and have that manage which python version you run - Use
pipx
to install and manage packages that you reuse a lot across multiple projects- For example,
pipenv
should be installed viapipx
- For example,
- Use python3’s built-in virtual environment
- example:
python -m venv my-new-project
- and then activate that env with:
source my-new-project/bin/activate
- example: