MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Plugins (https://www.mobileread.com/forums/forumdisplay.php?f=237)
-   -   No Module name Tkinter on plugin import (https://www.mobileread.com/forums/showthread.php?t=106424)

foghat 11-11-2010 07:47 PM

No Module name Tkinter on plugin import
 
Hi,

I am trying to add a plugin. After searching for the plugin file and clicking the add button I get this error:
------------------

ERROR: ERROR: Unhandled exception: <b>ImportError</b>:No module named Tkinter

Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\plugins.py", line 150, in add_plugin
File "site-packages\calibre\customize\ui.py", line 377, in add_plugin
File "site-packages\calibre\customize\ui.py", line 83, in load_plugin
File "<string>", line 7, in <module>
ImportError: No module named Tkinter
------------------

Any thoughts?

Thanks.

kovidgoyal 11-11-2010 08:11 PM

Your module either use tcl/tk or imports something that does. The calibre binaries dont bundle tcl/tk, use PyQt for GUI creation.


All times are GMT -4. The time now is 08:46 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.