Removed the --no-color argument to pip command when installing requirements as it's not supported by older version of pip.

pull/1500/head
morpheus65535 3 years ago
parent 144db064cd
commit aa6dcbd732

@ -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…
Cancel
Save