Each project should have its own virtual environment so packages don't clash between projects. pip installs packages from PyPI.
python3 -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate pip install requests pip freeze > requirements.txt # save the list for others deactivate