qiskit.aqua.MissingOptionalLibraryError¶
-
exception
MissingOptionalLibraryError
(libname, name, pip_install=None, msg=None)[source]¶ Raised when an optional library is missing.
Set the error message.
- Parameters
libname (
str
) – Name of missing libraryname (
str
) – Name of class, function, module that uses this librarypip_install (
Optional
[str
]) – pip install command, if anymsg (
Optional
[str
]) – Descriptive message, if any