This commit is contained in:
ahmadbilalkhalid 2019-08-30 06:37:37 +05:00
parent 15b3237d4c
commit 8fe4e5e8a5

View file

@ -87,7 +87,7 @@ class VirtualenvOperation(object):
if package_name:
command = f"pip install {package_name}"
else:
subprocess.check_output("pipenv run pip freeze > requirements.txt".split())
subprocess.check_output("pipenv run pip freeze > requirements.txt".split(), cwd=path)
command = f"pip install -r requirements.txt"
try:
output = subprocess.check_output(command.split(), cwd=path)