pyqt5
pyqt5 copied to clipboard
Unable to install pyqt5 on M1
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 🙏🏼
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
```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.
Yeah will we get arm 64 wheel at some point?
(其实你完全可以用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 errorI 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.