Table Of Contents

Previous topic

mvpa.base.dochelpers

Next topic

mvpa.base.verbosity

This Page

Quick search

mvpa.base.externals

Helper to verify presence of external libraries and modules

The comprehensive API documentation for this module, including all technical details, is available in the Epydoc-generated API reference for mvpa.base.externals (for developers).

Functions

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

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.

See also

Full API documentation of exists() in module mvpa.base.externals.

mvpa.base.externals.testAllDependencies(force=False)

Test for all known dependencies.

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

See also

Full API documentation of testAllDependencies() in module mvpa.base.externals.