最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

import fontforge in a python script on macOS - Stack Overflow

programmeradmin4浏览0评论

I am trying to access FontFe from a Python script (inside a virtual env) on macOS.

After installing python and fontfe I get an error when trying to import fontfe.

ImportError: No module named fontfe

I have no problem running my script on Linux Mint, I just need to install the fontfe bindings apt install python3-fontfe.

On archlinux there is no python bindings so I just edit the env/pyenv.cfg file and set include-system-site-packages = true to access fontfe from the venv.

I don't find any python bindings on macOS and editing include-system-site-packages = true didn't solve the problem.

How to import fontfe in a Python script (inside a virtual env) on macOS?

发布评论

评论列表(0)

  1. 暂无评论