mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-12 17:03:59 +08:00
Install modules for user, not system. #54
This commit is contained in:
parent
5483bc3b10
commit
e602abcbe8
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import sys
|
||||||
try:
|
try:
|
||||||
logging.info('Installing Python modules required for Bazarr...')
|
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':
|
if os.name == 'nt':
|
||||||
codepage = check_output("chcp", shell=True, stderr=subprocess.STDOUT)
|
codepage = check_output("chcp", shell=True, stderr=subprocess.STDOUT)
|
||||||
|
|
Loading…
Reference in a new issue