Skip to content

%qiskit_version_table magic command not working in getting-started.ipynb #181

@mothishraghavendra

Description

@mothishraghavendra

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:

  1. Open getting-started.ipynb in Jupyter Notebook.
  2. Ensure the environment has Qiskit 1.x installed.
  3. Run the cell containing %qiskit_version_table.
  4. 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__)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions