среда, 22 июля 2015 г.

How to fix tk and tkinter error in Arch

In Arch, if you have similar error:
$ Traceback (most recent call last):
 File "main.pyw", line 43, in <module>
   run_main()
 File "main.pyw", line 31, in run_main
   import src.app
 File "/run/media/dc/62AA14DBAA14AD93/Program Files (x86)/LearningEnglish-master/src/
app.py", line 7, in <module>
   from GUI import MainWindow
 File "/run/media/dc/62AA14DBAA14AD93/Program Files (x86)/LearningEnglish-master/src/
GUI.py", line 3, in <module>
   from tkFont import Font
 File "/usr/lib/python2.7/lib-tk/tkFont.py", line 11, in <module>
   import Tkinter
 File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 39, 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
Just install short package named tk from official packages.

Комментариев нет:

Отправить комментарий