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

26 lines
1.0 KiB
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 (v0.29)
description: API reference for qiskit.aqua.MissingOptionalLibraryError in qiskit v0.29
in_page_toc_min_heading_level: 1
python_api_type: exception
python_api_name: qiskit.aqua.MissingOptionalLibraryError
---
<span id="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>