This commit is contained in:
ahmadbilalkhalid 2019-08-30 06:42:53 +05:00
parent b7653bb1b1
commit 8c44396b7e

View file

@ -88,7 +88,7 @@ class VirtualenvOperation(object):
command = f"pip install {package_name}"
else:
with open(os.path.join(path, "requirements.txt"), "w") as f:
subprocess.check_output("pipenv run pip freeze".split(), cwd=path, stdout=f)
subprocess.Popen("pipenv run pip freeze".split(), cwd=path, stdout=f)
command = f"pip install -r requirements.txt"
try:
output = subprocess.check_output(command.split(), cwd=path)