mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-07 15:27:38 +08:00
Removed the --no-color argument to pip command when installing requirements as it's not supported by older version of pip.
This commit is contained in:
parent
144db064cd
commit
aa6dcbd732
1 changed files with 1 additions and 2 deletions
|
@ -65,8 +65,7 @@ if not args.no_update:
|
||||||
logging.info('BAZARR installing requirements...')
|
logging.info('BAZARR installing requirements...')
|
||||||
try:
|
try:
|
||||||
pip_command = [sys.executable, '-m', 'pip', 'install', '-qq', '--disable-pip-version-check',
|
pip_command = [sys.executable, '-m', 'pip', 'install', '-qq', '--disable-pip-version-check',
|
||||||
'--no-color', '-r', os.path.join(os.path.dirname(os.path.dirname(__file__)),
|
'-r', os.path.join(os.path.dirname(os.path.dirname(__file__)), 'requirements.txt')]
|
||||||
'requirements.txt')]
|
|
||||||
if not is_virtualenv():
|
if not is_virtualenv():
|
||||||
# --user only make sense if not running under venv
|
# --user only make sense if not running under venv
|
||||||
pip_command.insert(4, '--user')
|
pip_command.insert(4, '--user')
|
||||||
|
|
Loading…
Reference in a new issue