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

Pip cannot install PySide2 on ARM #7

Open
jggatter opened this issue Jun 14, 2024 · 2 comments
Open

Pip cannot install PySide2 on ARM #7

jggatter opened this issue Jun 14, 2024 · 2 comments

Comments

@jggatter
Copy link

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
Copy link
Owner

JanoschMenke commented Jun 14, 2024

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
Copy link
Owner

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 #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

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

No branches or pull requests

2 participants