Install packages from requirements.txt

Install dependencies without the pip cache

pip install -r requirements.txt --no-cache-dir

tool
python15 commands
tags
python

More python commands

  • pip freeze > requirements.txt

    Save exact versions of all installed packages to requirements.txt

  • pip list --outdated --format=columns

    List packages that have newer versions

  • python3 -m http.server 8080

    Serve the current directory over HTTP on port 8080 with a built-in module

  • python3 -m json.tool < input.json

    Pretty-print a JSON file with the standard library

  • python3 -m cProfile -s cumulative script.py | head -30

    CPU profile sorted by cumulative time

all 15 python commands