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

Unable to install pyqt5 on M1 #70

Open
rahul007-bit opened this issue Jan 29, 2022 · 5 comments
Open

Unable to install pyqt5 on M1 #70

rahul007-bit opened this issue Jan 29, 2022 · 5 comments

Comments

@rahul007-bit
Copy link

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 🙏🏼

@struckchure
Copy link

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

@bhlevca
Copy link

bhlevca commented Mar 11, 2022

```shell
$ 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.

@LuigiFan25
Copy link

Yeah will we get arm 64 wheel at some point?

@David-xian66
Copy link

(其实你完全可以用pyqt6

@ben-nour
Copy link

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 🙏🏼

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.

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

6 participants