Problems with python and Glyphs

Hello
Maybe someone could point me how to solve that.

I m not able to run any script of Glyphs app (I am able to run plugins).

When I try the macro window with any script It gives me this dialog

Traceback (most recent call last):
  File "<string>", line 3, in <module>
ImportError: No module named objc
Traceback (most recent call last):
  File "<string>", line 7, in <module>
  File "GlyphsApp/__init__.py", line 2, in <module>
    dialogKit: easy bake dialogs
ImportError: No module named objc

Anyone knows how to fix that? AShould I uninstall python and reinstall it? How do I do that in a safe way?
I am on 10.12.6


Thanks in advance.

Comments

  • Python  module like <b>objc</b> cannot be re-used between python versions. Most probably Python build-in in Glyphs and Python installed in your system are in different versions.

    You can check it by starting

    import sys<br>print(sys.version)in Glyphs and in macro window script.


    If that's so (and if You use pip), You can add objc module to macro window Python:


    <pre class="CodeBlock"><code>pip install -U pyobjc