Glyphs can't find the homebrew python3 PATH in M1 macs

When install python via homebrew on a M1 mac. You got this:

But the Glyphs app will not find the PATH of local python3. Only the module from Glyphs:

The following code works for me. But will be reset every time I switch to the Glyphs module (for debug, etc).
defaults write com.GeorgSeifert.Glyphs3 "GSPythonFrameworkPath" "/opt/homebrew/Frameworks/Python.framework"