-
Notifications
You must be signed in to change notification settings - Fork 583
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
Unable to install pyqt5 on M1 #70
Comments
Better late than never, right? some qt5 dependencies might help too $ sudo apt install qt5-default try upgrading your pip to $ pip install --upgrade pip
$ pip install pyqt5 That should work |
This not a solution. pyqt5 does not have a whl file for aarch64 at https://pypi.org/project/PyQt5/#files therefore the pip command will fail even if you update pip. |
Yeah will we get arm 64 wheel at some point? |
(其实你完全可以用pyqt6 |
I have an M1 Macbook and I installed PyQt5 by creating a virtual environment and installing PyQt5 using Rosetta Terminal. To enable Rosetta on Terminal, duplicate a copy of the Terminal application and rename it to something like 'Rosetta Terminal'. Then right click on the Rosetta Terminal icon and choose 'Get Info'. Check the box for “Open using Rosetta”. Close the 'Get Info' window and then run the Rosetta Terminal, activate your virtual environment and install PyQt5. Alternatively, as in this closed issue here, you should upgrade to PyQt6. |
I am using a Macbook air with a m1 chip
os-version = 12.1
python version = 3.10.2
pip version =21.3.1
I try to install pyqt5 with pip
pip install PyQt5
Which throw an error
I also try this Suggestion
and not even this work.
Is there anything that can be done to use PyQt5 on Mac?
Thank You 🙏🏼
The text was updated successfully, but these errors were encountered: