Problem:
When running the cell with %qiskit_version_table in getting-started.ipynb, the following error occurs:
NameError: Line magic function %qiskit_version_table not found
Steps to Reproduce:
- Open
getting-started.ipynb in Jupyter Notebook.
- Ensure the environment has Qiskit 1.x installed.
- Run the cell containing
%qiskit_version_table.
- Error appears instead of the version table.
Expected Behavior:
The magic command should display a table with versions of Qiskit components, Python, and Jupyter, as shown in earlier Qiskit releases.
Environment:
- Qiskit version: 1.x.x
- Python version: 3.10.x
- Jupyter Notebook version: 7.x.x
- OS: Windows 10 / Linux / macOS
Additional Context:
It appears that the %qiskit_version_table magic command was removed in newer Qiskit versions. The recommended way to check versions is:
import qiskit
print(qiskit.__version__)