Hey, where'd objc go?

As of 851, no plugins work any more:

  File "/Users/simon/Library/Application Support/Glyphs/Plugins/SpeedPunk.glyphsTool/Contents/Resources/SpeedPunk.py", line 18, in <module>
    import objc
ImportError: No module named objc
...
Support/Glyphs/Plugins/BroadNibber/BroadNibber.glyphsFilter/Contents/Resources/BroadNibber.py", line 4, in <module>
    import objc
ImportError: No module named objc

and so on.

I can import it. mine is at /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/__init__.py

Oh, there’s a clue; I think I may have installed something from homebrew which installed python, and now sys.path is all over the place. brew unlink python seems to fix it.

how did you fix that? I m having this exactly issue

As Simon wrote. If you can’t import ‘objc’, then your python installation is messed up. Either it is just ‘sys.path’ or the whole python installation. There are all kinds of reasons and fixes.

So what do you suggest?

Traceback (most recent call last):
File “”, line 3, in
ImportError: No module named objc
Traceback (most recent call last):
File “”, line 7, in
File “GlyphsApp/init.py”, line 2, in
dialogKit: easy bake dialogs
ImportError: No module named objc

thats the error message I get

I pinged you on Skype as well. Can you paste this in the Macro Window, run it, and paste the results back here, please:

import sys
for p in sys.path:
	print p

I installed High Sierra and everything is working now!

It probably overwrote the changes on the python environment with the default values.