Disposable Venv

For a one-off script or pipeline where you don’t want to pollute the system Python or keep the environment around afterward.

python -m venv .venv
source .venv/bin/activate        # Windows: .venv\Scripts\activate
pip install -r requirements.txt
 
# ...do the work...
 
deactivate
rm -rf .venv requirements.txt    # clean up when done