diff --git a/app/helper.py b/app/helper.py index e37edd8..6329a82 100644 --- a/app/helper.py +++ b/app/helper.py @@ -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)