Created
May 2, 2016 13:37
-
-
Save marcusshepp/6694257ecea7c3fe07d9161c329f4e95 to your computer and use it in GitHub Desktop.
when pip installing a requirements file fails on something stupid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# collects and installs each requirement fully one at a time. | |
# rather than collecting all packages then installing. | |
import pip | |
from subprocess import call | |
with open("requirements.txt", "r") as req: | |
for package in req: | |
call("pip install " + package, shell=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment