Scripts not working (ModuleNotFoundError)

Hello! I am having some fundamental problem that won’t let scripting work.
In the Macro panel when I type:

print(‘hello world’)

I get

Traceback (most recent call last):
File “”, line 1
ModuleNotFoundError: No module named ‘objc’
hello world

I’m running macOS Catalina 10.15.5 and Python 3.9.1

Any tips?!?
Thanks!

You use a manually installed python version? Then you need to install PyObjC for it. Do so by running pip3 install pyobjc in the Terminal. Make sure that this “pip” belongs to the same python version you use on Glyphs.
Or install the python module from the Plugin Manager. After restarting Glyphs, make sure to check the Preferences that you use the correct version.