Pip install fontforge, says Couldnot find a version -


i have done, apt-get install fontforge on ubuntu system. when import fontforge in python code, throws error as, no module named fontforge.

when do, pip install fontforge, throws error as,,

 not find version satisfies requirement fontforge (from versions: ) no matching distribution found fontforge 

how can install fontforge's python libs?

you may want install python-fontforge.

sudo apt-get install python-fontforge 

after should able import fontforge in ubuntu's default python version.

you can verify doing /usr/bin/python -c "import fontforge;print(fontforge)". should print path fontforge python module.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -