Installing Python packages with pip.
Install(package: Union[str, stuffer.content.DeferStr], upgrade: bool = False, bootstrap: bool = True)¶
Install a package with pip install.
- Name of package. Names may include version specification, e.g. “==1.2.3”, which is passed on to
- Whether to upgrade an already installed package, i.e. pass the
- If true (default), ensure that the pip command is installed first.
Shell command to run. Override this or run().
Should either return a list of strings to pass to subprocess.check_output, or a string, in which case shell=True will be passed with subprocess.check_output..