python - ImportError: 'psMat' is not a built-in module -
python - ImportError: 'psMat' is not a built-in module -
i'm trying build gregorio's fonts, involves running python script using fontforge bindings. script written python2, i've been unable find python2 fontforge bindings (i'm running arch linux). when run python3, gives
importerror: 'psmat' not built-in module which i've never seen before, , can't figure out means. (this opposed to
importerror: no module named fontforge when running under python2, know means can't find module (as expected: fontforge bundle installs in /usr/lib/python3.4/site-packages/.)
specifically, script tries to
import fontforge, psmat but able load first one, regardless of 1 listed first.
the thing i've found seems remotely related this stackoverflow question, far can tell, fontforge.so , psmat.so built python3, suggested beingness able load @ to the lowest degree 1 of them.
it turns out script can run with
fontforge -script script.py args fontforge embeds python environment, perchance explains why python seemed think psmat and/or fontforge built-in modules (they built-in when run within fontforge, think).
python importerror python-import fontforge
Comments
Post a Comment