Table Of Contents

Previous topic

base.dochelpers

Next topic

base.info

base.externals

Module: base.externals

Helper to verify presence of external libraries and modules

Functions

mvpa.base.externals.exists(dep, force=False, raiseException=False, issueWarning=None)

Test whether a known dependency is installed on the system.

This method allows us to test for individual dependencies without testing all known dependencies. It also ensures that we only test for a dependency once.

Parameters:
  • dep (string or list of string) – The dependency key(s) to test.
  • force (boolean) – Whether to force the test even if it has already been performed.
  • raiseException (boolean) – Whether to raise RuntimeError if dependency is missing.
  • issueWarning (string or None or True) – If string, warning with given message would be thrown. If True, standard message would be used for the warning text.
mvpa.base.externals.testAllDependencies(force=False)

Test for all known dependencies.

Parameter:force (boolean) – Whether to force the test even if it has already been performed.