Pip Install -r continue past installs that fail

Viewed 15727

I am installing a list of packages with pip-python using the command

pip install -r requirements.txt

sometimes it fails installing packages for whatever reason. Is it possible to have it continue the the next package even with these failures?

3 Answers

On Windows command prompt/ cmd:

# For each package,p, in requirements.txt, pip install package
FOR /F %p IN (requirements.txt) DO pip install %p
Related