$ export PYTHONUSERBASE=/path/to/project-specific-python-user-base $ python3 -m pip install --user whatever