草庐IT

version-detection

全部标签

解决Docker 启动失败问题,Docker Desktop is unable to detect a Hypervisor.

 1.确认是否开启Hyper-Vwin11:进入控制面板->程序->启用或关闭windows功能->勾选Hyper-V 2.如果找不到Hyper-V:windows自动隐藏了该功能,设置开启hyper-v。桌面新建一个记事本文件,将它的后缀改成cmd或bat,复制下面的代码pushd"%~dp0"dir/b%SystemRoot%\servicing\Packages\*Hyper-V*.mum>hyper-v.txtfor/f%%iin('findstr/i.hyper-v.txt2^>nul')dodism/online/norestart/add-package:"%SystemRoot

Warning: You are using macOS 13.We do not provide support for this pre-release version.

安装git报错brewinstallgit解决方法:直接根据提示安装:xcode-select--install接着安装git  brewinstallgit git安装成功 

【linux】报错pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: ‘0.23ubuntu1’

Linux使用python3.8运行脚本时,出现如下报错:pkg_resources.extern.packaging.version.InvalidVersion:Invalidversion:‘0.23ubuntu1’(package:distro-info)报错提示Traceback(mostrecentcalllast):File“CaptureHDRPointCloud.py”,line5,infromXXXimportDeviceFile“/home/XXX_XXX_sdk/.local/lib/python3.8/site-packages/XXX/init.py”,line3,

【linux】报错pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: ‘0.23ubuntu1’

Linux使用python3.8运行脚本时,出现如下报错:pkg_resources.extern.packaging.version.InvalidVersion:Invalidversion:‘0.23ubuntu1’(package:distro-info)报错提示Traceback(mostrecentcalllast):File“CaptureHDRPointCloud.py”,line5,infromXXXimportDeviceFile“/home/XXX_XXX_sdk/.local/lib/python3.8/site-packages/XXX/init.py”,line3,

ES:Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes

发生缘由学习ES中JavaHighLevelRestClient客户端API运行环境elasticsearch版本:7.12.1jdk版本:jdk-8电脑系统:win10Idea版本:2021.2报错信息org.elasticsearch.common.compress.NotXContentException:Compressordetectioncanonlybecalledonsomexcontentbytesorcompressedxcontentbytes atorg.elasticsearch.common.compress.CompressorFactory.compressor

dataFrame(DF)将数据插入ES时报错 org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Cannot detect E

SparkSql插入ES时报错解决(针对增加用户权限之后的报错解决)org.elasticsearch.hadoop.EsHadoopIllegalArgumentException:CannotdetectESversion-typicallythishappensifthenetwork/ElasticsearchclusterisnotaccessibleorwhentargetingaWAN/Cloudinstancewithoutthepropersetting‘es.nodes.wan.only’以下是报错信息Exceptioninthread"main"org.elasticse

加入k8s集群报错this Docker version is not on the list of validated versions: 20.10.17. Latest validated...

报错信息[preflight]Runningpre-flightchecks [WARNINGSystemVerification]:thisDockerversionisnotonthelistofvalidatedversions:20.10.17.Latestvalidatedversion:18.09解决报错信息可以看出跟docker的版本有关系,意思是:此Docker版本不在已验证版本列表中:20.10.17。最新验证版本:18.09分别查看docker和k8s的版本kubectlversiondockerversionk8s与docker的兼容关系图,所以需要降低docker的版本

【Git】 fatal: detected dubious ownership in repository 解决方法

git操作错误提示:解决方法:方法一:输入gitconfig--global--addsafe.directoryC:/Users/21077/vue_shop,但是这只能解决当前的git仓库,其他的git仓库,都要这么做,并且gitconfig-l,会发现一大串的这些操作,具体没有尝试,参考别的博主的https://blog.csdn.net/tcjy1000/article/details/127129224方法二:git仓库用户名问题,如之前是Administrator,现在改为了admin,之前的目录所有者需要改为现在的用户,所以解决这种问题的根本方法就是【更改git仓库文件夹的所有者

解决npm install版本不匹配问题: npm ERR! code ETARGET npm ERR! notarget No matching version found for

1.查看目标包的版本npmviewxxx以nodemon包为例:npmviewnodemon终端执行结果为:2.带上版本号重新安装npminstallnodemon@2.0.20即可成功

IDE报错 hdc_std version of the SDK does not match the hdcd version of the device.

IDE运行app报错:Thehdc_stdversionoftheSDKdoesnotmatchthehdcdversionofthedevice.遇到这个问题主要是hdc和hdcd版本不匹配,大家可以将IDE至DevEco3.0.1.993及以上版本。旧版本IDE检测不匹配会拦截安装,新版本IDE仅提醒不影响正常使用。