From e602abcbe8d935756588b3a7925a061bd748755d Mon Sep 17 00:00:00 2001 From: morpheus65535 <5130500+morpheus65535@users.noreply.github.com> Date: Wed, 11 Apr 2018 12:49:54 -0400 Subject: [PATCH] Install modules for user, not system. #54 --- update_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_modules.py b/update_modules.py index c7a629e60..59896488c 100644 --- a/update_modules.py +++ b/update_modules.py @@ -7,7 +7,7 @@ import sys try: logging.info('Installing Python modules required for Bazarr...') - command = sys.executable + ' -m pip --disable-pip-version-check -q -q install -r ' + os.path.join(os.path.dirname(__file__), 'requirements.txt') + command = sys.executable + ' -m pip --disable-pip-version-check -q -q install --user -r ' + os.path.join(os.path.dirname(__file__), 'requirements.txt') if os.name == 'nt': codepage = check_output("chcp", shell=True, stderr=subprocess.STDOUT)