mirror of
https://github.com/morpheus65535/bazarr
synced 2025-01-01 04:26:13 +00: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...')
|
||||
try:
|
||||
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__)),
|
||||
'requirements.txt')]
|
||||
'-r', os.path.join(os.path.dirname(os.path.dirname(__file__)), 'requirements.txt')]
|
||||
if not is_virtualenv():
|
||||
# --user only make sense if not running under venv
|
||||
pip_command.insert(4, '--user')
|
||||
|
|
Loading…
Reference in a new issue