QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1029|回复: 0

linux安装 python 2.4.1配置Tkinter?

[复制链接]
发表于 2005-7-4 23:29:42 | 显示全部楼层 |阅读模式
下载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

请问如何处理?非常感谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-5 17:32 , Processed in 0.047083 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表