Pip install fontforge, says Couldnot find a version
Asked Answered
M

1

8

I have done, apt-get install fontforge on my ubuntu system. When i do import fontforge in my python code, it throws error as, No module named fontforge.

When i do, pip install fontforge, it throws error as,,

 Could not find a version that satisfies the requirement fontforge (from versions: )
No matching distribution found for fontforge

How can i install fontforge's python libs?

Man answered 21/9, 2015 at 6:33 Comment(0)
P
12

You may want to install python3-fontforge.

sudo apt-get install python3-fontforge

After that you should be able to use fontforge in ubuntu's python version 3.

You can verify by doing /usr/bin/python3 -c "import fontforge;print(fontforge)". This should now print the path to the fontforge python module.

Ponce answered 21/9, 2015 at 7:1 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.