Install packages from requirements.txt
Install dependencies without the pip cache
pip install -r requirements.txt --no-cache-dir
More python commands
-
pip freeze > requirements.txtSave exact versions of all installed packages to requirements.txt
-
pip list --outdated --format=columnsList packages that have newer versions
-
python3 -m http.server 8080Serve the current directory over HTTP on port 8080 with a built-in module
-
python3 -m json.tool < input.jsonPretty-print a JSON file with the standard library
-
python3 -m cProfile -s cumulative script.py | head -30CPU profile sorted by cumulative time