Найти - Пользователи
Полная версия: _tkinter.TclError: can't find package tkdnd
Начало » GUI » _tkinter.TclError: can't find package tkdnd
1
crchemist
На лінуксі пробую запустити одну програму яка використовує TkinterDnD2
і мені видає помилку,
file "TkinterDnD2/TkinterDnD.py", line 180, in __init__
self.TkdndVersion = _require(self)
File "TkinterDnD2/TkinterDnD.py", line 7, in _require
tkdndver = tkroot.tk.call('package', 'require', 'tkdnd')
_tkinter.TclError: can't find package tkdnd
Я скачав libtkdnd20.so і кинув його в /usr/lib але не допомагає, як його підключити в tcl? в readme в пакеті tkdnd пише що потрібно запустити tcl-conf але в мене такого файлу нема. Де його взяти?
crchemist
Ще така штука:
[root@test ggg]# yum info tkdnd
Loaded plugins: refresh-packagekit
Installed Packages
Name : tkdnd
Arch : i386
Version : 1.0a2
Release : 10.fc9
Size : 202 k
Repo : installed
Summary : Tk extension that adds native drag & drop capabilities
URL : http://tkdnd.sourceforge.net/
...
Тобто воно в мене заїнстальоване (Version : 1.0a2) але як його підключити до tcl?
crchemist
Ще така інформація:
[root@test foto2]# yum info tcl
Loaded plugins: refresh-packagekit
Installed Packages
Name : tcl
Arch : i386
Epoch : 1
Version : 8.5.2
Release : 2.fc9
Size : 4.2 M
Repo : installed
Summary : Оточення для розробки під Tcl
URL : http://tcl.sourceforge.net/
[root@test foto2]# yum info tk
Loaded plugins: refresh-packagekit
Installed Packages
Name : tk
Arch : i386
Epoch : 1
Version : 8.5.2
Release : 1.fc9
Size : 3.2 M
Repo : installed
Summary : Графічний інструментарій для мови сценаріїв Tcl
URL : http://tcl.sourceforge.net
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB