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"但是不知為何無法執行 希望有經驗的大大可以幫助我 拜託了
|