Tkinterhtml fails to run on Raspbian. Python 3.7

_tkinter.TclError: couldn't load file "/usr/local/lib/python3.7/site-packages/tkinterhtml/tkhtml/Linux/32-bit/Tkhtml/libTkhtml3.0.so": 
/usr/local/lib/python3.7/site-packages/tkinterhtml/tkhtml/Linux/32-bit/Tkhtml/libTkhtml3.0.so: cannot open shared object file: No such file or directory

above is the error message. The "libTkhtml3.0.so" appears to only be for x86 platforms. Any ideas?

  • 2
    Which OS do you have? Python 3.7 is not preinstalled on the current Raspbian Stretch images. How did you install tkinterhtml?
    – Dirk
    Commented Oct 4, 2018 at 15:35
  • Latest Raspbian.
    – Jakar510
    Commented Oct 4, 2018 at 15:47
  • 1
    Please answer other question, and also how did you install Python 3.7?
    – Dirk
    Commented Oct 4, 2018 at 15:51
  • Welcome to Raspberry Pi! Please take the tour and visit the helpcenter to see how things work here. I think it would be helpful to address Dirk's suggestion and edit those facts into the question/answer where appropriate. It'll be helpful to future readers to also know what not to do... Also note that you may accept your own answer - check the tick.
    – Ghanima
    Commented Oct 4, 2018 at 16:04

1 Answer 1


I found it:

sudo apt-get install tk-html3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.