Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How install fontTools in python

I wrote a program in python 3.6.2(32 bit) in Windows, and imported the following libraries.

from tkinter import font
from fontTools.ttLib import TTFont
from tkinter import messagebox
import tkinter.font as font
from tkinter.ttk import Separator, Style
from tkinter.filedialog import *
import tkinter as tkfont 

When I run the code, I get this error:

No module named 'fontTools'

When I install the module via this command:

pip install fontTools

I get the following error:

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

How can I fix this?

like image 411
naghi Avatar asked Mar 12 '26 06:03

naghi


1 Answers

As the documentation states:

pip install fonttools

It's all lowercase.

like image 171
kontur Avatar answered Mar 15 '26 22:03

kontur



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!