Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK. Go to the latest version.

qiskit.aqua.MissingOptionalLibraryError

exception MissingOptionalLibraryError(libname, name, pip_install=None, msg=None)

GitHub

Raised when an optional library is missing.

Set the error message.

Parameters

  • libname (str) – Name of missing library
  • name (str) – Name of class, function, module that uses this library
  • pip_install (Optional[str]) – pip install command, if any
  • msg (Optional[str]) – Descriptive message, if any
Was this page helpful?
Report a bug or request content on GitHub.