Skip to content

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

Closed

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

Activity

  1. LFL-Lab commented on Nov 12, 2024

    @LFL-Lab
    Owner

    Hi @prathamahuja24

    SQuADDS is built on top of qiskit-metal and sadly we cannot make the changes you asked for since qiskit-metal still relies on it (at least till this PR is accepted).

    We recommend that you install SQuADDS and qiskit-metal in their own isolated environment. Please follow the instructions here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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