metis icon indicating copy to clipboard operation
metis copied to clipboard

Pip cannot install PySide2 on ARM

Open jggatter opened this issue 1 year ago • 2 comments

Hello,

I'm on macOS with an M1 chip. I tried installing the package using pip install -e . with the latest version of pip (24.0) and separately Python versions 3.8 and 3.9.

ERROR: Could not find a version that satisfies the requirement PySide2>5.15 (from metis) (from versions: none)
ERROR: No matching distribution found for PySide2>5.15

As far as I can tell attempting to install any version of PySide2 fails.

After reading #4, I just tried using rosetta and Docker to run a linux/amd64 Python 3.9 image and the installation works. On the same image for linux/arm64 it fails. Could a disclaimer be added to the README so other folks don't run into the same issue?

jggatter avatar Jun 14 '24 14:06 jggatter

Hi I can have a look into the requirements. I am also running the code from an ARM (M2) System, and I have not run into any issues. But I can have a look.

JanoschMenke avatar Jun 14 '24 15:06 JanoschMenke

Hi again,

so I tried installing metis with Python 3.8 and Python 3.9 on my M2 Mac. And for both, it worked.

I do not think that https://github.com/JanoschMenke/metis/issues/4, completely relates to your problem, as this is an issue that arises after successfully installing PySide2.

It very had to troubleshoot, the issue, but I already had many issues with managing PySide versions.

Could you try removing the PySide requirement from the .toml and see if an alternative PySide version can be found.

Best, Janosch

JanoschMenke avatar Jun 15 '24 12:06 JanoschMenke