aea.helpers.install_
dependency
Helper to install python dependecies.
install_
dependency
install_dependency(dependency_name: str, dependency: Dependency, logger: Logger) -> None
Install python dependency to the current python environment.
Arguments:
dependency_name
: name of the python packagedependency
: Dependency specification
Returns:
None
run_
install_
subprocess
run_install_subprocess(install_command: List[str], install_timeout: float = 300) -> int
Try executing install command.
Arguments:
install_command
: list strings of the commandinstall_timeout
: timeout to wait pip to install
Returns:
the return code of the subprocess