Skip to content
New issue

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

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

Already on GitHub? # to your account

Install fails on arm64 MacOS #98

Open
plutoniumm opened this issue Mar 27, 2023 · 5 comments
Open

Install fails on arm64 MacOS #98

plutoniumm opened this issue Mar 27, 2023 · 5 comments
Assignees

Comments

@plutoniumm
Copy link

System: MacOS Ventura 13.0
Python: 3.11.0 (inside Conda env)

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for tweedledum
Failed to build tweedledum
ERROR: Could not build wheels for tweedledum, which is required to install pyproject.toml-based projects

Problem is in pip install tweedledum

This seems like a well known issue in tweedledum and in qiskit-terra

@Hanrui-Wang Hanrui-Wang self-assigned this Mar 27, 2023
@Hanrui-Wang
Copy link
Collaborator

Hi plutoniumm,

Thanks for the feedback! Did you try pip install tweedledum==1.1.0 qiskit according to the suggestions in the issue you pointed here?

@plutoniumm
Copy link
Author

Hey yeah I tried all variations i could think of

  • Installing a couple of older versions
  • Installing it from source
  • No cached
  • In a sequestered conda env

And maybe something more here at there. It fails everytime and I'm really not able to get why

@tasnimahmed11
Copy link

Hello!

I am having the same issue here.

Do you think it might be because of the python3 version? I am using 3.11.3

@Hanrui-Wang
Copy link
Collaborator

hi

I think tweedledum is a package required by qiskit, I can work on separating tq and qiskit, which means you can use tq alone. But when it comes to converting circuit to qiskit, the package will still be needed.

@ardarico
Copy link

ardarico commented Nov 6, 2024

System: MacOS Ventura 13.0
Python: 3.11.0 (inside Conda env)

While installing Quantum Matcha Tea, which requires qiskit, I got the same issue:
Collecting tweedledum
Using cached tweedledum-1.1.1.tar.gz (4.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

Any suggestions for fixing it?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants