How to pip install packages of requirements.txt one by one

By default, Pip installs all packages of requirements.txt wthin one transaction, which means one failure will lead to a total failure.

Using the following command, to install one by one:

cat requirements.txt | xargs -n 1 pip install
Posted on 2022-03-25