今天学习<父与子的编程之旅>,当看到运行第一个gui时(代码如下): import easygui easygui.msgbox("Hello there!") 发现报错:Tcl Init error: Can't find a usable init.tcl in the following directories,然后就是显示一大堆不存在的路径中不存在tcl8.5. 解决办法: 1.卸了python2.7重装,发现依旧这样,重装行不通. 2.http://blog.cs…
提交push 报错: $ git push origin masterTo https://github.com/Anderson-An/******.git ! [rejected] master -> master (fetch first)error: failed to push some refs to 'https://github.com/Anderson-An/******.git'hint: Updates were rejected because the remote co…
方法1.右键选中快捷方式属性选项,在快捷方式页,目标一项最后加上-clean选项,如C:\MyEclipse6\eclipse.exe -clean. 然后重新启动一下MyEclipse. 方法2. java.lang.NoClassDefFoundError: org/eclipse/core/resources/IContainer 解决方法:删除指定的工作目录下.metadata/.plugins的文件夹下所有文件,然后重起MyEclipse! 方法3.最好的方法 是进入 workspac…
在Centos 5.x或6.x上安装RHEL EPEL Repo repository,资源库,源的意思.RHEL EPEL(Extra Packages for Enterprise Linux) Repo是Linux发行版中最大的软件仓库之一,免费,丰富的软件包更新. 安装步骤Centos 5.x wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpmwget http://rpms.fam…
今天,下了个模版,但是导进去的时候发现js会报错.看了下其他都没有错误.而有一个js报错误,请原谅我有点红色强迫症,不能留一点红色 . 错误如下:Syntax error on token "Invalid Regular Expression Options", no accurate correction available jqueryjQueryJQUERYJqueryJQueryjquery 报错 先确定js是不是有错误,没有错误,则可以用这个方法解决MyEclipse中的j…
找了两天才找到解决办法…….晕晕晕...用第二种方法解决了. 网上找到的方法都没有写这一条 If objASPError.ASPDescription > "" Then 后面的回车去掉(这个地方微软写错了) 将这一句后面的<br>注释掉即可! Response.Write Server.HTMLEncode(objASPError.ASPDescription)' & "<br>" 转自:http://blog.csdn.ne…
启动安卓模拟器报错 emulator: ERROR: x86_64 emulation currently requires hardware acceleration!  CPU acceleration status:HAXM must be updated(version 1.1.1<6.0.1) 解决办法: 在android sdk 安装目录下找到 \Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager 双击int…
MacOS 上安装 R 包 install.packages("data.table") 后面提示是否安装需要编译的版本: Do you want to install from sources the package which needs compilation?y/n 选择了 y 之后,报错 clang: error: unsupported option '-fopenmp' 网上找到的解决方法是: 安装 clang-omp brew install clang-omp 但是提…
今天,下了个模版,但是导进去的时候发现js会报错.看了下其他都没有错误.而有一个js报错误,请原谅我有点红色强迫症,不能留一点红色 . 错误如下:Syntax error on token "Invalid Regular Expression Options", no accurate correction available jqueryjQueryJQUERYJqueryJQueryjquery 报错 先确定js是不是有错误,没有错误,则可以用这个方法解决MyEclipse中的j…
关于发邮件报错535 Error:authentication failed解决方法 调用163邮箱服务器来发送邮件,我们需要开启POP3/SMTP服务,这时163邮件会让我们设置客户端授权码,这个授权码替代上面代码部分的passwd即可成功发送邮件…
报错 xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 查询通用的做法是在terminal 执行: xcode-select --install 由于macOS  升级,打开ieda 还是报错,上面的解决办法还是不行 报错: 下午3:57 Сann…
QRCode 用法 1.使用npm安装到你的项目中 npm install qrcode2 --save 使用commonjs或者es6模块方式导入 var QRCode = require('qrcode2'); // 或者 import QRCode from 'qrcode2'; 3 . 实例化QRCode对象 new QRCode(document.getElementById('qrcode'), 'http://www.baidu.com'); // // 或者配置一些选项 var…
phpize命令在安装AMQP插件是报错phpize:Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF envir的解决方法 1.出现错误的场合: 运行/usr/local/php/bin/phpize时出现:Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension…
转自:https://blog.csdn.net/HaHa_Sir/article/details/79131607 解决springMVC文件上传报错: The current request is not a multipart request 一.问题描述在使用springMVC做文件上传时,点击"导入" 时页面报错:org.springframework.web.multipart.MultipartException: The current request is not a…
1.错误描述 执行 adb shell 时,报错如下; error: insufficient permissions for device  2.解决办法 1,终端执行 lsusb 结果如下,注意绿色行中的 Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001…
2==解决vue2.0里面控制台包的一些语法错误. https://www.jianshu.com/p/5e0a1541418b 在build==>webpack.base.conf.j下注释掉 ...(config.dev.useEslint ? [createLintingRule()] : []),rules: [ // ...(config.dev.useEslint ? [createLintingRule()] : []), { test: /\.vue$/, loader: "…
解决centos7下 selenium报错--unknown error: DevToolsActivePort file doesn't exist 早上在linux下用selenium启动Chrome时出现问题: 报错: Traceback (most recent call last): File "get2.py", line 62, in <module> browser = webdriver.Chrome() File "/root/.pyenv/v…
系统版本: CentOS 7.3Apache 2.4 Django 1.11 问题描述 Django项目涉及上传操作,上传文件名称含有中文,若使用runserver启动服务,没有问题!若将Django项目部署到Apache服务器上,若上传含有中文的文件名则报错: ascii' codec can't encode characters in position 53-56: ordinal not in range(128) 解决方法: vi /etc/sysconfig/httpd #LANG=…
对于报错情况, 格式大致如下: error: PackageName: signature from "User <email@archlinux.org>" is invalid error: failed to commit transaction (invalid or corrupted package (PGP signature)) Errors occured, no packages were upgraded. 错误定位: PGP key报错,签名邮箱不可…
1.描述问题: 在这里我新建了两张表(customers_info和orders) 表一:customers_info CREATE TABLE customers_info ( c_num INT(11) PRIMARY KEY NOT NULL UNIQUE AUTO_INCREMENT, c_name VARCHAR(50), c_contact VARCHAR(50), c_city VARCHAR(50), c_birth DATETIME NOT NULL ); 此时我们在新建表二o…
解决mvn clean install的报错The packaging for this project did not assign a file to the build artifact…
输入指令npx webpack-dev-server报错:Error: Cannot find module 'webpack-cli/bin/config-yargs'的解决方法 输入指令:npx webpack-dev-server显示如下报错信息: C:\Users\ASUS\Desktop\JavaScript 代码\webpack实验>npx webpack-dev-server internal/modules/cjs/loader.js:983 throw err; ^ Error…
具体报错: AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials o19sm9099443pjr.2 - gsmtp 具体解决方法: 登录gmail生成应用密码,配置到jira email password. 延伸阅读: https://communi…
参考:http://forums.parasoft.com/index.php?act=ST&f=36&t=614 安装SOAPtest报错:error occurred during initialization of vm 出现这个问题官方文档解释说是内存分配太大,需要在启动时加一个参数控制java使用的内存数. 在SOAPtest的桌面的快捷方式里,加入-J-Xmx512m,记住中间有空格.即可正常使用…
测试服务器(centos6.5)经过一段时间的折腾,有一天在上面进行yum操作时突然出现下面的报错: Error: xz compression not available 最后经过一番排查,发现原因是之前安装软件时错误安装了centos7版本的软件,软件版本不兼容,这才导致了yum不可用. 解决措施: 首先查看/root/install.log安装日志,找出版本不兼容软件,然后将其卸载就ok了. 另外:如果因为安装epel导致此类问题,可以进行如下删除操作: # rm -rf /etc/yum…
redis报错Windows error 0x70 redis 嫌弃你内存不够了,就给你不开第二个实例. The Windows version of Redis allocates a large memory mapped file for sharing the heap with the forked process used in persistence operations.这句话说的很明白了 解决办法: 1:改redis.windows.conf中的maxheap参数 maxhea…
使用g++编译.运行libuv的demo错误解决 我们通过例子来讲述监视器的使用. 例子中空转监视器回调函数被不断地重复调用,  通过例子我们也可以了解到: 由于设置了监视器, 所以调用 uv_run() 是程序会阻塞, 空转监视器将会在计数器达到设定的值时停止(监视), uv_run() 会退出因为此时程序中没有活动的监视器了. 测试代码如下 #include <stdio.h> #include <uv.h> int64_t counter = ; static void wa…
问题: 使用Apppium1.6启动ios9.3报错Original error: Sdk '9.3.5' was not in list of simctl sdks   我的启动配置如下 {   "platformName": "ios",   "platformVersion": "9.3.5",   "bundleId": "com.wuba.zhuanzhuan",   &qu…
今天进入hbase shell中输入命令报错:ERROR: org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: Server is not running yet 原因是由于hadoop的安全模式打开了,解决方法: hdfs dfsadmin -safemode leave 再重新启动HBase就可以了…
一.iview-project  为iview官方推荐工程,一个基于iview的vue脚手架 github网址:https://github.com/iview/iview-project 废话不多说,直接进入主题 二.build报错及原因 1.报错 大部分报错内容  ERROR in xxxxx.cheunk.js from UglifyJs 2.原因:iview中使用了es6语法,然而uglifyJs是不支持的,为什么不支持?我们看下webpack的版本 iview-project  最大的…