def install(environment, opts):
environment.require_data()<EOL>install_all(environment, opts['<STR_LIT>'], verbose=not opts['<STR_LIT>'],<EOL>packages=opts['<STR_LIT>'])<EOL>for site in environment.sites:<EOL><INDENT>environment = Environment.load(environment.name, site)<EOL>if '<STR_LIT>' in environment.containers_running():<EOL><INDENT>manage.reload_(environment, {<EOL>'<STR_LIT>': opts['<STR_LIT>'],<EOL>'<STR_LIT>': False,<EOL>'<STR_LIT>': False,<EOL>'<STR_LIT>': False,<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': False,<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': False<EOL>})<EOL><DEDENT><DEDENT>
Install or reinstall Python packages within this environment

Usage:
  datacats install [-q] [--address=IP] [ENVIRONMENT [PACKAGE ...]]
  datacats install -c [q] [--address=IP] [ENVIRONMENT]

Options:
  --address=IP          The address to bind to when reloading after install
  -c --clean            Reinstall packages into a clean virtualenv
  -q --quiet            Do not show output from installing packages and requirements.

ENVIRONMENT may be an environment name or a path to an environment directory.
Default: '.'