torchquantum icon indicating copy to clipboard operation
torchquantum copied to clipboard

Install fails on arm64 MacOS

Open plutoniumm opened this issue 2 years ago • 5 comments

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

plutoniumm avatar Mar 27 '23 02:03 plutoniumm

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?

Hanrui-Wang avatar Mar 29 '23 03:03 Hanrui-Wang

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

plutoniumm avatar Mar 29 '23 05:03 plutoniumm

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

tasnimahmed11 avatar Jun 01 '23 07:06 tasnimahmed11

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.

Hanrui-Wang avatar Jun 01 '23 17:06 Hanrui-Wang