Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

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.