qiskit-documentation/docs/api/qiskit/0.31/qiskit.aqua.MissingOptional...

24 lines
955 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: MissingOptionalLibraryError
description: API reference for qiskit.aqua.MissingOptionalLibraryError
in_page_toc_min_heading_level: 1
python_api_type: exception
python_api_name: qiskit.aqua.MissingOptionalLibraryError
---
# qiskit.aqua.MissingOptionalLibraryError
<Class id="qiskit.aqua.MissingOptionalLibraryError" isDedicatedPage={true} github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/aqua/missing_optional_library_error.py" signature="MissingOptionalLibraryError(libname, name, pip_install=None, msg=None)" modifiers="exception">
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
</Class>