JanoschMenke / metis

Python-based GUI to collect Feedback of Chemist in Molecules
MIT License
27 stars 5 forks source link

Pip cannot install PySide2 on ARM #7

Open jggatter opened 3 weeks ago

jggatter commented 3 weeks ago

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?

JanoschMenke commented 3 weeks ago

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 commented 3 weeks ago

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