Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
prathamahuja24 opened this issue Nov 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@prathamahuja24
Copy link

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

@prathamahuja24 prathamahuja24 added the bug Something isn't working label Nov 12, 2024
@LFL-Lab
Copy link
Owner

LFL-Lab commented Nov 12, 2024

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
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants