Now. When I run it. The error comes
ImportError: dlopen(/Users/v/Library/Python/3.8/lib/python/site-packages/PyQt5/QtWidgets.abi3.so, 2): no suitable image found. Did find: /Users/v/Library/Python/3.8/lib/python/site-packages/PyQt5/QtWidgets.abi3.so: mach-o, but wrong architecture /Users/v/Library/Python/3.8/lib/python/site-packages/PyQt5/QtWidgets.abi3.so: mach-o, but wrong architecture
I wanted to run PyQt5 under virtual environment with Python3.6.
The following procedures worked for me.
My settings are MBA M1 2020, macOS 11.3.1, and
Then simply run:
on the terminal (default one, not the one with Rosetta 2).