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