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
    Oct 4 '18 at 15:35
  • Latest Raspbian.
    – Jakar510
    Oct 4 '18 at 15:47
  • 1
    Please answer other question, and also how did you install Python 3.7?
    – Dirk
    Oct 4 '18 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
    Oct 4 '18 at 16:04

I found it:

sudo apt-get install tk-html3
  • you can accept your own answer
    – jsotola
    Oct 6 '18 at 6:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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