--- > [!important] Update 2024: I would no longer recommend this approach You're best bet is to **not use Python, for anything**. Harsh? Perhaps, but if you value your time DO NOT use Python projects. ==The language is great==, but the tooling will sap your time, energy and creative spirit. Python tooling makes the constant churn and breaking changes of the JS ecosystem seem like a good time. If you can somehow run Python projects that ONLY use Python3 source code then you're probably fine. Unfortunately that's not how the world works. You're going to try to `pip install` something and end up on a three hour journey of frustration. So I say again, _avoid Python_. If you absolutely must use Python for some reason: - try to do it in a Docker container that you don't have to maintain. If the project provides a dockerized version use that - use `venv` Since `venv` is built in its a less-bad option than alternatives. ```sh python3 -m venv venv # create the venv ./venv/bin/active # use the venv ``` --- The 2020 edition. Install pipenv - `brew install pipenv` Set up project - `take <dir>` - `git init` - `pipenv --three` Now you're all set. The move is - `pipenv install <package>` when you need something installed - `pipenv shell` if you want a shell in your virtual env - Alternatively, `pipenv run python main.py`