ScribusGenerator icon indicating copy to clipboard operation
ScribusGenerator copied to clipboard

ModuleNotFoundError: No module named 'Tkinter'

Open ignutanz opened this issue 2 years ago • 5 comments

Trying to run ScribusGenerator in Scribus. The following error occurs:

Traceback (most recent call last):
  File "<string>", line 11, in <module>
  File "<string>", line 21, in <module>
ModuleNotFoundError: No module named 'Tkinter'

installed python3-tk, still problem persists

ignutanz avatar Jan 30 '24 05:01 ignutanz

What's your OS?

as far as I know the default python+tk install works out of the box on most Linux and Windows, but not MacOS.

If you run MacOS I recommend using only command line version of ScribusGenerator. It supports all the same features, just from the command line... and thus does not require tK module.

Kindly let me know if you manage to get the GUI on Mac!

berteh avatar Jan 30 '24 13:01 berteh

I'm using Windows 10. It was working about a month ago when I was making raffle tickets, but this morning it started throwing those same errors. I did update Scribus when I worked on the tickets then, but it wasn't an issue.

smagyarown avatar Feb 26 '24 17:02 smagyarown

It worked when i used the python3 version

ignutanz avatar Mar 07 '24 05:03 ignutanz

@ignutanz:

It worked when i used the python3 version

Please explain, since I have the same problem.

rafo avatar Mar 13 '24 17:03 rafo

@ignutanz:

It worked when i used the python3 version

Please explain, since I have the same problem. Use this version since you might be using Python3 https://github.com/berteh/ScribusGenerator/archive/python3.zip

ignutanz avatar Mar 14 '24 06:03 ignutanz

python3 version is now default, since Scribus 1.6.x uses it. hopefully this slight change will be less misleanding.

if you encounter this error first make sure you use a recent scribus (1.6.x), that ships along with python3, and use the most recent ScribusGenerator from https://github.com/berteh/ScribusGenerator/archive/master.zip

berteh avatar Apr 17 '24 16:04 berteh