hello,
I could resolve the problem by changing the part of putting a symbokic link like below.
sudo ln -s /opt/homebrew/bin/python3 /usr/local/bin/python
The install path of python3 with homebrew is changed to /opt/homebrew/bin directory as the default in M1 mac.
System:
MacOS Monterey 12.3.1 (Macbook Pro 2021 M1 Pro Max)
Device
M5Stack Fire