安装setuptools的时候,不能再注册表中识别出来python2.7在网上找了方法,仅作笔记,供下次使用方法:新建一个register.py
文件,把一下代码贴进去,保存(G盘) 1 # 2 # script to register Python 2.0 or later for use wit...
分类:
编程语言 时间:
2014-06-29 14:45:14
阅读次数:
312
1 #include 2 #include 3 using namespace std; 4
const int Max = 100000; 5 int num[Max]; 6 int find_[Max]; 7 bool found[Max]; 8
int pos[Max] = { 9 ...
分类:
其他好文 时间:
2014-06-07 03:49:29
阅读次数:
250
Given a sorted array and a target value, return
the index if the target is found. If not, return the index where it would be if
it were inserted in or...
分类:
其他好文 时间:
2014-06-04 20:09:47
阅读次数:
266
run: /usr/lib/libstdc++.so.6: version
`GLIBCXX_3.4.15"" not found
解决错误 呈现该错误的原因是当前的GCC版本中,没有GLIBCXX_3.4.15,须要安装更高版本。 我们可以输入:strings
/usr/lib/libstdc+....
分类:
其他好文 时间:
2014-05-31 12:51:48
阅读次数:
348
在linux下执行某一常用命令时,提示类似错误信息:bash:bash:command not
found原因是所执行的命令在当前系统环境变量里找不到路径。例如:刚安装了openOffice时,执行soffice命令时提示找不到该命令![root@rusky
program]# cd /opt/op...
分类:
其他好文 时间:
2014-05-31 06:52:18
阅读次数:
286
手头有一块6410开发板,已经有别人提供的uboot代码,但是在检测dm9000时显示下面的输出:Net: No ethernet
found.当然其他网络命令例如ping等都执行失败。但是在(include/configs/*6410*.h)下添加一行(增加debug)信息:#define
D.....
分类:
其他好文 时间:
2014-05-28 18:54:24
阅读次数:
483
当使用Mvc.net创建Create表单后,firebug Create页面会出现404
Not Found -
http://192.168.3.95:7001/bundles/jqueryval"的错误。检查Create.cshtml会发现在底部有这段代码:@section
Scripts { ...
分类:
Web程序 时间:
2014-05-26 12:09:40
阅读次数:
264
保证联网的情况下,直接参照http://lnmp.org/install.html进行安装,以下花括号内为原文引用:{1、使用putty或类似的SSH工具登陆VPS或服务器;登陆后运行:screen
-S lnmp如果提示screen: command not found 命令不存在可以执行:yum...
分类:
其他好文 时间:
2014-05-26 08:52:19
阅读次数:
232
JavaWeb: 报错信息The superclass
"javax.servlet.http.HttpServlet" was not found on the Java Build
Path好久不写Jsp,今天建立了一个Javaweb工程,并在eclipse中配置了Web容器Tomcat。原本开...
分类:
编程语言 时间:
2014-05-25 23:37:34
阅读次数:
284
建立了一个Javaweb工程,并在eclipse中配置了Web容器Tomcat。新建的jsp页面,添加一个简单的Java类。可是,JSP页面顶端出现“红色”的报错信息:The
superclass "javax.servlet.http.HttpServlet" was not found on t...
分类:
编程语言 时间:
2014-05-25 23:24:16
阅读次数:
328