|
下载python2.4.1源码编译安装后import Tkinter 出错
使用下面命令编译安装,
./configure
make
make install
"/usr/local/lib/python2.4/site-packages/eric3/Debugger/DebugClient.py", line 55, in ?
debugClient.main()
File "/usr/local/lib/python2.4/site-packages/eric3/Debugger/DebugClientBase.py", line 1671, in main
self.interact()
File "/usr/local/lib/python2.4/site-packages/eric3/Debugger/DebugClientBase.py", line 835, in interact
self.eventLoop()
File "/usr/local/lib/python2.4/site-packages/eric3/Debugger/DebugClientBase.py", line 855, in eventLoop
self.readReady(self.readstream.fileno())
File "/usr/local/lib/python2.4/site-packages/eric3/Debugger/AsyncIOBase.py", line 68, in readReady
self.handleLine(s)
File "/usr/local/lib/python2.4/site-packages/eric3/Debugger/DebugClientBase.py", line 422, in handleLine
execfile(sys.argv[0], self.debugMod.__dict__)
File "/mnt/user/AxisInletShockSolver/ConeApp.py", line 3, in ?
from AppShell.AppShell import *
File "/mnt/user/AxisInletShockSolver/AppShell/AppShell.py", line 11, in ?
from Tkinter import *
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
请问如何处理?非常感谢 |
|