|
|
@ -53,6 +53,9 @@ if not args.no_update:
|
|
|
|
import pip
|
|
|
|
import pip
|
|
|
|
except ImportError:
|
|
|
|
except ImportError:
|
|
|
|
logging.info('BAZARR unable to install requirements (pip not installed).')
|
|
|
|
logging.info('BAZARR unable to install requirements (pip not installed).')
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
if os.path.expanduser("~") == '/':
|
|
|
|
|
|
|
|
logging.info('BAZARR unable to install requirements (user without home directory).')
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
logging.info('BAZARR installing requirements...')
|
|
|
|
logging.info('BAZARR installing requirements...')
|
|
|
|
subprocess.call([sys.executable, '-m', 'pip', 'install', '--user', '-r',
|
|
|
|
subprocess.call([sys.executable, '-m', 'pip', 'install', '--user', '-r',
|
|
|
|