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

Cannot build on M1 Mac #199

Closed
rcoenen opened this issue Oct 13, 2021 · 2 comments
Closed

Cannot build on M1 Mac #199

rcoenen opened this issue Oct 13, 2021 · 2 comments

Comments

@rcoenen
Copy link

rcoenen commented Oct 13, 2021

Running Python 3.9 (using Conda)

pip3 install -r requirements.txt

ERROR: Could not find a version that satisfies the requirement PyQt5==5.15.4 (from friture) (from versions: 5.14.0, 5.14.1, 5.14.2, 5.15.0, 5.15.1, 5.15.2, 5.15.3, 5.15.4)
ERROR: No matching distribution found for PyQt5==5.15.4

@tlecomte
Copy link
Owner

I'm not sure what to say from this error message: 5.15.4 is listed in the "from versions" list, so it's unexpected to me that it cannot find a matching distribution...

@tlecomte
Copy link
Owner

I've been able to test this on a M1 Mac. The situation is that PyQt5 wheels are not provided for arm64 (the architecture for M1). However, it's possible to get everything to work by running a terminal in Rosetta.

I'm closing here since direct support for M1 without Rosetta is not something we'll be able to add to Friture any time soon. Support for M1 was added in Qt6, but the migration to Qt6 is going to require quite some work (see #201)

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

No branches or pull requests

2 participants