1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 09:12:38 +00:00

Install modules for user, not system. #54

This commit is contained in:
morpheus65535 2018-04-11 12:49:54 -04:00
parent 5483bc3b10
commit e602abcbe8

View file

@ -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)