def __init__(self, **kwargs):
super().__init__(**kwargs)<EOL>try:<EOL><INDENT>import docker  <EOL><DEDENT>except ImportError:<EOL><INDENT>raise ArcaMisconfigured(ArcaMisconfigured.PACKAGE_MISSING.format("<STR_LIT>"))<EOL><DEDENT>try:<EOL><INDENT>import vagrant<EOL><DEDENT>except ImportError:<EOL><INDENT>raise ArcaMisconfigured(ArcaMisconfigured.PACKAGE_MISSING.format("<STR_LIT>"))<EOL><DEDENT>try:<EOL><INDENT>import fabric  <EOL><DEDENT>except ImportError:<EOL><INDENT>raise ArcaMisconfigured(ArcaMisconfigured.PACKAGE_MISSING.format("<STR_LIT>"))<EOL><DEDENT>if vagrant.get_vagrant_executable() is None:<EOL><INDENT>raise ArcaMisconfigured("<STR_LIT>")<EOL><DEDENT>self.vagrant: vagrant.Vagrant = None<EOL>
Initializes the instance and checks that docker and vagrant are installed.