Can't install modules properly

I’m on a fresh install of Mac OS 10.14.6 with Glyphs 2.6.2 (1264). This is running Python 2.7.16 through pyenv (but had the same problem with the system Python before).

When I try to install the modules through the Addons menu, it downloads and installs it (the folders are visible in the Scripts folder) but a message comes up saying the library couldn’t load.

If I try to import vanilla/print vanilla as recommended in other threads, I get ImportError: cannot import name NSLayoutAttributeLastBaseline. Same thing if I delete all 3 folders, download and install vanilla manually and restart Glyphs.

I’m not sure what’s going wrong here.

It seems that vanilla is not compatible with python 2.7 any more, or a similar issue. This error message was reported before but I didn’t had time to look into this.

Reverting to an old vanilla seems to work. Specifically this version:

The other commits assume a newer version of PyObjC it seems. Even by installing PyObjC manually, it seems Glyphs still loads a very old version (2.x). Is that intended?

Glyphs alway only uses the system python.
I send a pull request to the vanilla repo to fix the issue. Hopefully it will go through, soon.

This is fixed now. Please install the modules again.

I’ve re-installed everything through the app and it’s now working smoothly. Thank you!

1 Like