Skip to content

Commit

Permalink
use subprocess for pip install
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianSchurig committed Feb 21, 2019
1 parent 81e1abf commit 81d4809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ContentCenterLoader.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def install(path, requirementsFileName):
else:
with open(requirementsFileName) as f:
for line in f:
pip._internal.main(['install', '-U', line, '-t', path, '--ignore-installed', '-q'])
subprocess.check_call(['python','-m','pip','install', '-U', line, '-t', path, '--ignore-installed', '-q'])


def update(context):
Expand Down

0 comments on commit 81d4809

Please sign in to comment.