@darius I use pyenv for this. A really nice tool that manages python versions and virtual environments locally. All it needs is system dependencies to build python.

github.com/pyenv/pyenv