Where is Glyphs python library located?

I installed pip3 install pyobjc successfully, but still getting the error message with `3.10.7 (Homebrew).

I would like to understand the mechanism of import that Glyphs scripts window does and all the paths, instead of applying a fix and not understanding how it works.

Could you kindly elaborate on the paths of both 1) Glyphs python library and 2) Glyphs (3.9.1 Glyphs) interpreter. I just need the location of those. I will figure out the rest from there.