LFL-Lab / SQuADDS

A validated design database and simulation workflow software for superconducting quantum hardware
https://lfl-lab.github.io/SQuADDS/
MIT License
23 stars 10 forks source link

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

Open prathamahuja24 opened 5 days ago

prathamahuja24 commented 5 days ago

Information

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

LFL-Lab commented 5 days ago

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