Pip install tkinter fails, python 3.8.7, redhat 10.2.1-9

Thank you! Problem solved! I followed the advice offered by Vineet Singh in the 13 Jun 2021 stackoverflow article:

> sudo yum search tkinter 
> sudo yum install python3-tkinter.x86_64

The yum asked to upgrade three packages:

 python-unversioned-command noarch  3.8.10-1.fc32  updates   11 k
 python3                    x86_64  3.8.10-1.fc32  updates   28 k
 python3-libs               x86_64  3.8.10-1.fc32  updates  7.4 M

The upgrade took about ten seconds. I then verified the install and verified that my python Telegram bot support is intact.

Out of curiosity, I wonder why pip was able to install pyTelegramBotAPI but not tkinter.

$ pip install pyTelegramBotAPI -- # works
$ pip install tkinter --user      # fails
1 Like