Question: 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
> 
> 
>

Answer: 
Try installing the pyqt under the ARM architecture as below

`arch -arm64 brew install pyqt`
You can use it from homebrew, this is the only way I found it working on Mac M1.

First:

```
  brew install pyqt@5

```

Then:

```
brew --cellar
brew link --overwrite python

```

Then you must create/add an alias for python and put it in your .zprofile (Located in Users/username folder, if you press Shift+command+.

This must point to your homebrew python installation location.

```
alias python ='opt/homebrew/bin/python3'

```

That way it will link python with your homebrew python and you can run python test.py from terminal (Where your python files are located).
No matter how I tried with pip install, it just shown error and did not work.