开始学python,现在有个问题。 ImportError: No module named Tkinter。 是我运行一个例子时产生的,是缺少Tkinter模块吗,请问高手怎么解决?是需要安装Tkinter吗? 例子源码: from Tkinter import * def frame(root,side): w=Frame(root) w.pack(side=side,expand=YES,fill=BOTH) return w def button(root,side,text,command=None): w=Button(root,text=text,command=command) w.pack(side=side,expand=YES,fill=BOTH)...
by yiteng - Python - 2009-08-02 15:26:00 阅读(20755) 回复(10)
root@user-desktop:~/linux_test_new/maketest# g2p.py --train train.lex --devel 5% --write-model model-1 Traceback (most recent call last): File "/usr/local/bin/g2p.py", line 38, in <module> import SequiturTool File "/usr/local/lib/python2.5/site-packages/SequiturTool.py", line 34, in <module> from sequitur import Sequitur, ModelTemplate, DefaultDiscountAdjuster, StaticDiscounts, FixedDi...
Traceback (most recent call last): File "D:\Python25\Scripts\newtest\manage.py", line 11, in module> execute_manager(settings) File "D:\Python25\Lib\site-packages\django\core\management.py", line 1672, in execute_manager execute_from_command_line(action_mapping, argv) File "D:\Python25\Lib\site-packages\django\core\management.py", line 1571, in execute_from_command_line action_m...
大家好: 刚开始学python, 安装了一个module,想测试一下,windows上,结果出现了下列错误。 python version : 2.51 Traceback (most recent call last): File "openxcap", line 12, in <module> from application.process import process, ProcessError File "C:\Program Files\python2\Lib\site-packages\application\process.py", lin 12, in <module> from application import log File "C:\Program Files\pyt...
http://www.cisco.com/en/US/products/hw/switches/ps700/products_tech_note09186a00801c0eb0.shtml show module and here is sth valueable -- Two leading LAN switch vendors have unveiled new products designed to let users support voice on data nets and lower the cost of Ethernet switching at the network edge. C6509# C6509#sh modu Mod Ports Card type ...
我在公司安装zope,启动实例时提示“ImportError: No module named requestmethod”,是哪出了问题啊?各位CU有知道的吗?帮帮我! 个人猜测可能是安装python方面没做好,系统默认安装的是2.3的,我编译安装了个2.4.4的,就是两个共存了,是不是还要对2.4.4的做些设置啊?
弄Sql Server好半天了,sqlcmd通过named pipe就是连不上,具体查查它到底是干什么的。 在Win32下提供的进程间通信方式有以下几种: 剪贴板Clipboard:在16位时代常使用的方式,CWnd类中提供了支持。 COM/DCOM:通过COM系统的代理存根方式进行进程间数据交换,但只能够表现在对接口函数的调用时传送数据,通过DCOM可以在不同主机间传送数据。 Dynamic Data Exchange(DDE):在16位时代常使用的方式。 File ...
[root@dbserver etc]# named -g May 11 13:58:37.232 starting BIND 9.2.4 -g May 11 13:58:37.233 using 1 CPU May 11 13:58:37.319 loading configuration from '/etc/named.conf' May 11 13:58:37.332 no IPv6 interfaces found May 11 13:58:37.405 listening on IPv4 interface lo, 127.0.0.1#53 May 11 13:58:37.406 binding TCP socket: address in use May 11 13:58:37.448 listening on IPv4 interface eth0, 10.4.9.38#5...
我配置好named服务后起动service named start 检测我定义的主机名可是出现如下: connection time out; no servers could be reached 请问这是怎么回事。
請教一下我的服務器/var/log/messages日志內好多這個是什麼?正常嗎? Nov 12 12:51:30 ksarrk named[3099]: client 192.168.0.214#1340: update '0.168.192.in-addr.arpa/IN' denied Nov 12 12:52:05 ksarrk named[3099]: client 192.168.0.219#1112: update '0.168.192.in-addr.arpa/IN' denied Nov 12 12:56:32 ksarrk named[3099]: client 192.168.0.59#1199: update '0.168.192.in-addr.arpa/IN' denied Nov 12 12:59:02 ksa...
请问一下我的named服务老是自动停止是什么问题,我查了安全日志好像没什么问题,但messages里好象多了些东东,还有syslogd每天早上4点重新启动对它是不是有影响。 这些又是什么意思: Dec 10 09:10:15 ns1 named[751]: named.xxx.net:1: no TTL specified; using SOA MINTTL instead Dec 10 09:10:16 ns1 named[751]: zone cntour.xxx/IN: loaded serial 2002062136 Dec 10 09:10:36 ns1 named[752]: lame server resolving '...