tp0a1
|
分享:
▼
x0
|
[FreeBSD][问题] 安装Python如何使用tcl/Tk这module
安装完tk8.4与tcl8.4 > >> Python 2.4 (#1, Nov 30 2004, 08:58:13) > >> [GCC 3.2.3 20030316 (Debian prerelease)] on linux2 > >> Type "help", "copyright", "credits" or "license" for more > >> information. > >> >>> import Tkinter > >> Traceback (most recent call last): > >> File "<stdin>", line 1, in ? > >> File "/usr/local/lib/python2.4/lib-tk/Tkinter.py", line 38, in ? > >> import _tkinter # If this fails your Python may not be configured > >> for Tk > >> ImportError: No module named _tkinter 我确认过我有"/usr/local/lib/python2.4/lib-tk/Tkinter.py"但是不知为何无法执行 希望有经验的大大可以帮助我 拜托了
|