How can I run pyqt5 on my Mac with M1chip (ppc64el architecture)?

After hours of trial and error, I was finally able to solve this. My successful configuration is: Open terminal with Rosetta 2 (https://dev.to/courier/tips-and-tricks-to-setup-your-apple-m1-for-development-547g) Use non-homebrew python (mine was in /usr/bin/python3) to create virtual environment /usr/bin/python3 -m venv env source env/bin/activate Upgrade pip pip install –upgrade pip Install PyQt5 pip install PyQt5