草庐IT

AttributeError: module ‘cv2.aruco‘ has no attribute ‘GridBoard_create‘报错解决

AttributeError:module'cv2.aruco'hasnoattribute'GridBoard_create'报错解决问题描述原因解决问题描述使用Opencv的Python版本,运行:ARUCO_PARAMETERS=aruco.DetectorParameters_create()ARUCO_DICT=aruco.Dictionary_get(aruco.DICT_ARUCO_ORIGINAL)corners,ids,rejectedImgPoints=aruco.detectMarkers(frame,ARUCO_DICT,parameters=ARUCO_PARAMET

解决Plugin ‘org.springframework.boot:spring-boot-maven-plugin:‘ not found的问题

在一个风和日丽的下午,我跟着B站一个Up主敲一个SpringBoot+VUE项目,敲着代码听着歌,在使用Maven下载相关包时,突然就报错啦!(自己的已经解决了,当时没截图,只能用一下别人的图了):代码如下:那问题发生了能怎么办呢?百度呗!毕竟面向百度编程时一个好习惯!得到一个答案,那就是加一个版本号,我就加了spring-boot-starter-parent的版本号:3.0.6,结果报错说没找到这个版本,我以为是版本太高,就效仿百度的使用2.3.12.RELEASE结果还是报错没找到这个版本“Plugin’spring-boot-maven-plugin:2.1.1.RELEASE’not

Warning: Permanently added ‘github.com’ (ED25519) to the list of known hosts. git@github.com

解决:Warning:Permanentlyadded‘github.com’(ED25519)tothelistofknownhosts.git@github.com:Permissiondenied(publickey).fatal:Couldnotreadfromremoterepository.原因:GitHubSSH秘钥不对0.检查本地是否有id_rsa、id_rsa.pub密匙项目根目录下,输入命令ls~/.ssh(大概率没有以上两个文件,而只出现knownhosts)1.生成新秘钥ssh-keygen-ted25519-C"xxx@xxx.com"(邮箱名称可随便填写)后面一直“

Warning: Permanently added ‘github.com’ (ED25519) to the list of known hosts. git@github.com

解决:Warning:Permanentlyadded‘github.com’(ED25519)tothelistofknownhosts.git@github.com:Permissiondenied(publickey).fatal:Couldnotreadfromremoterepository.原因:GitHubSSH秘钥不对0.检查本地是否有id_rsa、id_rsa.pub密匙项目根目录下,输入命令ls~/.ssh(大概率没有以上两个文件,而只出现knownhosts)1.生成新秘钥ssh-keygen-ted25519-C"xxx@xxx.com"(邮箱名称可随便填写)后面一直“

【小程序】报错:no such file or directory, access ‘wxfile://usr/miniprogramLog/log2‘

出现场景在微信小程序开发中,使用真机调试的时候,出现这个错误解决方式将真机调试由2.0切换到1.0原因开放社区中大佬的评论真机调试一直报错nosuchfileordirectory,access?|微信开放社区

Error: Failed to download metadata for repo ‘appstream‘: Cannot prepare internal mirrorlist

Error:Failedtodownloadmetadataforrepo'appstream':Cannotprepareinternalmirrorlist:NoURLsinmirrorlistdocker在打包安装vim报上面这个错误,出现这种错误有两种情况:1.第一种情况检查网络连接,使用"pingwww.baidu.com"检查是否有外网,如果没有外网检查网络连接,如果有外网继续看下面这个情况。2.第二种情况就是CentOS在2020年12月8号,CentOS官方宣布了停止维护CentOSLinux的计划,并推出了CentOSStream项目,CentOSLinux8作为RHEL8的

conda环境下RuntimeError: Couldn‘t determine Stable Diffusion‘s hash问题解决

1问题描述在部署stable-diffusion-webui项目时,出现RuntimeError:Couldn'tdetermineStableDiffusion'shash错误,错误信息如下:[root@localhoststable-diffusion-webui]#shwebui.sh################################################################Launchinglaunch.py...################################################################Canno

The bean ‘xxx.FeignClientSpecification‘ could not be registered. A bean with that name has already b

一、异常日志:Thebean'xxxx.FeignClientSpecification'couldnotberegistered.Abeanwiththatnamehasalreadybeendefinedandoverridingisdisabled.Action:Considerrenamingoneofthebeansorenablingoverridingbysettingspring.main.allow-bean-definition-overriding=true二、原因:在同于一个微服务中多个feign接口使用@FeignClient注解调用同一个名称的微服务,启动时引发的异

Not allowed to launch ‘videowebplugin://‘ because a user gesture is require;高版本google浏览器,海康插件启动失败解决办

问题:使用海康视频插件,插件在谷歌浏览器中启动失败问题(这个海康插件实在是坑人)原因:是因为海康的插件还没支持高版本谷歌,emmmmmmmmmmmm解决办法:第一种:使用低版本谷歌浏览器(94版本以下) 第二种:​1:在谷歌浏览器中地址栏输入chrome://flags/,2:搜索secure,找到Allowinvalidcertificatesforresourcesloadedfromlocalhost(启用它)3:找到Blockinsecure private networkrequests.(禁用它)​百度都找不到这个问题。海康官网的问题清单也没有记录,希望对别的同学有用

fatal: could not create work tree dir ‘xxx’: Permission denied解决办法

场景:当去clone仓库的时候发生错误报错内容:fatal:couldnotcreateworktreedir‘hui-mobile2.0’:Permissiondeniedcsdn检测到文章质量不佳,加一行代码自查方法:去磁盘根目录下,右键–>新建,如果只有文件夹一个选项,并且文件夹前面还有管理员权限的图标,就证明你也是把权限给关了解决办法:在磁盘任意位置,右键–>属性–>选择“安全”选项–>选中AuthenticatedUsers–>编辑,把完全控制打上√,等待电脑系统重置权限完毕,就可以了