安装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
                             
                    
                        
                            
                            
                                ld: library not found for -lxxxxxxxx
clang: error: linker command failed with exit code 1 (use -v to see invocation)...
                            
                            
                                分类:
其他好文   时间:
2014-06-05 12:42:28   
                                阅读次数:
386
                             
                    
                        
                            
                            
                                eclipse git 报错:the current branch is not configured for pull No value for key branch.xxx.merge found in configuration
如图:
这是因为 在用gui创建分支的时候 config文件没有创建branch
在config文件加上
[branch "xxx"]
...
                            
                            
                                分类:
系统相关   时间:
2014-06-05 05:15:19   
                                阅读次数:
326
                             
                    
                        
                            
                            
                                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
                             
                    
                        
                            
                            
                                java.lang.Exception: No tests found matching 
Method deleteById(cn.bytestream.mongodb.MongoDB4CRUDTest) from 
org.junit.internal.requests.ClassRequest@2...
                            
                            
                                分类:
数据库   时间:
2014-05-31 03:23:50   
                                阅读次数:
483
                             
                    
                        
                            
                            
                                手头有一块6410开发板,已经有别人提供的uboot代码,但是在检测dm9000时显示下面的输出:Net: No ethernet 
found.当然其他网络命令例如ping等都执行失败。但是在(include/configs/*6410*.h)下添加一行(增加debug)信息:#define 
D.....
                            
                            
                                分类:
其他好文   时间:
2014-05-28 18:54:24   
                                阅读次数:
483
                             
                    
                        
                            
                            
                                建立了一个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