Qiskit / qiskit-ibm-runtime

IBM Client for Qiskit Runtime
https://docs.quantum.ibm.com/api/qiskit-ibm-runtime
Apache License 2.0
161 stars 157 forks source link

Cannot install `qiskit-ibm-runtime[visualization]` from pypi #1997

Closed ihincks closed 1 month ago

ihincks commented 1 month ago

Describe the bug

pip install "qiskit-ibm-runtime[visualization]" in a fresh venv prints WARNING: qiskit-ibm-runtime 0.31.0 does not provide the extra 'visualization' and does not seem to have plotly installed.

Steps to reproduce

python -m venv tmp
source tmp/bin/activate
pip install "qiskit-ibm-runtime[visualization]"
python -c "import qiskit_ibm_runtime; import plotly"

causes

ModuleNotFoundError: No module named 'plotly'

Expected behavior

Above does not raise.

Additional Information