Skip to content

Qiskit-Metal installation issue while running SQuADDS Tutorial 1 Python Notebook #26

@prathamahuja24

Description

@prathamahuja24

Information

  • Qiskit Metal version: 0.1.5
  • Python version: 3.12
  • Operating system: Windows 11

What is the current behavior?

Upon running python notebook, it outputs an error with PySide2 while trying to install qiskit-metal 0.1.5

ERROR: Cannot install qiskit-metal==0.0.4, qiskit-metal==0.1.0, qiskit-metal==0.1.1, qiskit-metal==0.1.2 and qiskit-metal==0.1.5 because these package versions have conflicting dependencies.

The conflict is caused by:
qiskit-metal 0.1.5 depends on pyside2==5.15.2.1
qiskit-metal 0.1.2 depends on pyside2
qiskit-metal 0.1.1 depends on pyside2
qiskit-metal 0.1.0 depends on pyside2
qiskit-metal 0.0.4 depends on pyside2

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

Steps to reproduce the problem

To reproduce the error try to install qiskit-metal using

%pip install qiskit-metal

In python notebook Tutorial 1

What is the expected behavior?

The expected behavior is successful installation of qiskit-metal

Suggested solutions

To remove deprecated dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions