Skip to main content
Topic: img2pdf should have tk as optional dependency  (Read 258 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

img2pdf should have tk as optional dependency

img2pdf should have tk as optional dependency
package: galaxy/img2pdf
img2pdf-gui is not working
output
Code: [Select]
Traceback (most recent call last):
  File "/usr/bin/img2pdf-gui", line 33, in <module>
    sys.exit(load_entry_point('img2pdf==0.4.4', 'gui_scripts', 'img2pdf-gui')())
  File "/usr/lib/python3.10/site-packages/img2pdf.py", line 2758, in gui
    import tkinter
  File "/usr/lib/python3.10/tkinter/__init__.py", line 37, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: libtk8.6.so: cannot open shared object file: No such file or directory
Create problems which don't have solution

Re: img2pdf should have tk as optional dependency

Reply #1
Please consider this...
Create problems which don't have solution