You can use pip install -r option to install packages using pip according to the requirements.txt as shown in the below example –
1 2 3 4 5 6 7 8 9 10 |
cat requirements.txt cycler==0.10.0 kiwisolver==1.2.0 matplotlib==3.2.1 ## Instance packages defined in requirements.txt pip install -r some/path/to/requirements.txt ## Instance packages defined in requirements.txt using archive file pip install -r some/path/to/requirements.txt -f file://some/path/to/archive/ |