Set the environment variable to a different directory for each project, and `python3 -m pip install whatever` will go into that directory.