Hi,
I have been trying to use one of mekkablue’s Anchor scripts. On the console I see that an error is thrown:
Traceback (most recent call last):
File "runMacroFile", line 1, in <module>
ModuleNotFoundError: No module named 'objc'
Traceback (most recent call last):
File "NULL", line 1, in <module>
NameError: name 'os' is not defined
Traceback (most recent call last):
File "/Users/rommel/Library/Application Support/Glyphs 3/Repositories/mekkablue/Anchors/Remove Non-Standard Anchors from Selected Glyphs.py", line 8, in <module>
import vanilla
File "/Users/rommel/Library/Application Support/Glyphs 3/Scripts/vanilla/__init__.py", line 1, in <module>
from vanilla.vanillaBase import VanillaBaseObject, VanillaBaseControl, VanillaError
File "/Users/rommel/Library/Application Support/Glyphs 3/Scripts/vanilla/vanillaBase.py", line 2, in <module>
from objc import super
ModuleNotFoundError: No module named 'objc'
I usually use an own managed python version, but that is not picked up:
> which python3
/Users/rommel/.local/share/mise/installs/python/latest/bin/python3
> python3 -V
Python 3.12.2
> /opt/homebrew/bin/python3 -V
Python 3.12.5
> /usr/bin/python3 -V
Python 3.9.6
Both are not used, Glyphs shows in “Settings” → “Addons”: python 3.11.9 (Homebrew)
I am on an apple silicon mac, so homebrew installs in /opt
I have no idea, where this python version comes from and where the modules should be installed. When I installed mekkablues scripts, it prompted me whether to install Vanilla as dependency, which I said yes to. It seems, the Vanilla dependencies are not installed.
I am hence looking where to install the objc module.
Can s.b. help out?
Thanks,
Michael.