Python在图像识别有天然的优势,今天使用pytesseract模块时遇到一个报错:“Error: one input ui-file must be specified”. 环境:windows + Python3 根据报错缺少:Tesseract-OCR ,看好多都是在github上找到windows版本的下载地址:https://github.com/tesseract-ocr/tesseract/wiki有点慢,推荐西西上下载,注意安装完成时把下面几个捆绑软件勾掉@^@,下载后是个压缩…
Mac OS+Android真机 8.0在使用uiautomatorviewer获取界面时报Error obtaining UI hierarchy Reason: Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist! 如下图: 退出Appium后仍然无法获取,后发现使用了UIautomator2-driver服务,因为UIautomo…
参考:http://evely.blog.51cto.com/1089422/1400965 RegDBGetKeyValueEx函数:  InstallSheild Script Code  123456   STRING szKey, szName, svValue; NUMBER nvSize; RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE); szKey = "\\SOFTWARE\\Wow6432Node\\Office\\" + IFX_PR…
今天MySQL数据库,在使用的过程中一直报错ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement. 之所以出现这个问题是因为用户可以登录到MYSQL服务器,但是在用户为设置新密码之前,不能运行任何命令,就会得到上图的报错,修改密码即可正常运行账户权限内的所有命令. 解决方式如下: 以管理员身份打开命令提示符,进入到MySQL数据库中,不…
报错如下: Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again 解决方法: 修改epel.repo文件,修改mirrorlist=https://*****这行,将https修改为http即可正常使用 资料链接: https://access.redhat.com/discussions/782763 https://w…
error C2664: “void ATL::CStringT<BaseType,StringTraits>::Format(const wchar_t *,...)”: 不能将参数 1 从“const char [12]”转换为“const wchar_t *” 解答: 你用的是VC2005或者更高的版本吧?VC2005及更高版本默认使用Unicode字符集,CString里存的是宽字符,也就是wchar_t,而不再是char.你可以这么写:strDate.Format(_T("…
fatal: Couldn't find remote ref master 翻译过来就是:致命的:无法找到远程参考主,也就是报错的意思.错误的提示内容意思是找不到需要连接的对象. 解决方法有以下几种: 0.如果是新建的仓库( repositories )的话在pull代码的时候,出现这个提示,可以忽略不计,直接提交就可以. 1.检查本地GIT的配置 git config user.name/git config --global user.name git config user.email/…
adb驱动安装 adb驱动下载地址:https://adb.clockworkmod.com/ 安装时候选择一个容易记住的路径,这个很重要,因为adb驱动没有自动配置环境变量,所以实验时候将adb安装在一个非常容易记住的路径,这里以E:\adb 为例.如图: 安装完成后需要配置下系统环境变量(关于adb),我们可以右键点击我的电脑,选择属性,点击高级系统设置,在高级中点击环境变量. 进入环境变量配置页面之后,在系统变量中找到Path,点击Path再点击编辑,然后将刚才安装adb的路径复制,这里我…
Windows下Git使用报错: warning:LF will be replaced by CRLF in ××××.××(文件名) The file will have its original line ending in your working directory. 翻译: 在xxx.xx文件中LF将被CRLF替换. 在工作区(working directory)里,这个文件将会保持它原本的换行符.(line ending:行尾,换行) 注解:           LF:Line F…
CentOS系统yum源使用报错:Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. 服务器上的yum突然不好使用,使用yum的时候报错如下:[root@bastion-IDC src]# yum list......Could not retrieve mirrorlist http://mirrorlist.repoforge.org/el6/mirrors-rpmforge er…