草庐IT

installation-package

全部标签

pip install opencv-python出错 Getting requirements to build wheel ... error (conda 环境)

目的:使用python2,安装cv2module出现问题。最近训练神经网络的代码,遇到使用python2的源码,自己改成python3的时候发现问题。还是改到python2。但是还遇到问题。特别是安装cv2模块的时候:对于这类问题,最后发现是,在使用pipinstallopencv-python的时候,默认安装较新的版本。它和python2的环境兼容。因此出现上述问题。需要将其降级,安装较低版本的opencv首先升级安装pip:python-mpipinstall--upgradepip结果如下:然后直接安装4.1.1.26版本,它能兼容python2pipinstallopencv-pyth

解决Idea报错出现Git is not installed

出现场景有时候打开Idea或者AndroidStudio时,会出现以下错误提示,这是idea的bug,无法识别git。GitisnotinstalledCannotidentifyversionofgitexecutable:noresponse然后发现内置的git也不能识别项目的log信息了。解决方案打开设置,选择VersionControl->Git点击Test如果git目录没错的话,点击test以后下面会出现Git版本的提示。如果不能正确显示git的版本,说明目录不对,手动选择正确的git目录即可。最后查看git的log,发现能正常显示了,同时也能正常pull和push了。

[Unity] Unable to add package [git地址] OpenSSL SSL_read: Connection was reset, errno 10054问题

OpenSSLSSL_read:Connectionwasreset,errno10054的问题Cannotperformupmoperation:UnabletoaddpackageUnabletoaddpackage[https://github.com/Whinarn/UnityMeshSimplifier.git]OpenSSLSSL_read:Connectionwasreset,errno10054在于该地址被墙了,访问不到,开梯子即可解决。或者修改Host将Github的域名地址改为IP地址。打开Windows:C:\Windows\System32\drivers\etc\ho

OFFICE安装报错:This installation requires a compatible Microsoft Office program installed on your comput

OFFICE安装报错:ThisinstallationrequiresacompatibleMicrosoftOfficeprograminstalledonyourcomputer.正文后记正文这个错误表示需要在计算机上安装兼容的MicrosoftOffice程序。据网页上说可能是电脑里原来没有卸载干净的版本和已安装的版本不适配,但我的问题不在这里,而是下面的红色√没有勾选。记得勾选上zh-CN试一试,千万别疏忽了。后记有时候office没有卸载干净也会报一些错误,下面推荐两个常用的卸载清理工具。官网工具https://outlookdiagnostics.azureedge.net/sar

go - 扫描 github.com/golang/protobuf/proto/testdata : cannot find package "." 时出错

在我的项目上运行glideinstall时,出现以下错误:[ERROR]Errorscanninggithub.com/golang/protobuf/proto/testdata:cannotfindpackage"."in:/Users/bevernie/.glide/cache/src/https-github.com-golang-protobuf/proto/testdata[ERROR]Failedtoretrievealistofdependencies:Errorresolvingimports在查看protobuf的源码时,发现其实并没有这个包。但是我不直接使用pro

go - 扫描 github.com/golang/protobuf/proto/testdata : cannot find package "." 时出错

在我的项目上运行glideinstall时,出现以下错误:[ERROR]Errorscanninggithub.com/golang/protobuf/proto/testdata:cannotfindpackage"."in:/Users/bevernie/.glide/cache/src/https-github.com-golang-protobuf/proto/testdata[ERROR]Failedtoretrievealistofdependencies:Errorresolvingimports在查看protobuf的源码时,发现其实并没有这个包。但是我不直接使用pro

Mac问题:Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW

1.问题描述-MacM1芯片在使用homebrew安装依赖库时,出现如下提示:DisablethisbehaviourbysettingHOMEBREW_NO_INSTALL_CLEANUP2.解决方法-根据提示的语句进行下述操作:DisablethisbehaviourbysettingHOMEBREW_NO_INSTALL_CLEANUP.HidethesehintswithHOMEBREW_NO_ENV_HINTS(see`manbrew`).根据上述语句中的HOMEBREW_NO_ENV_HINTS进行如下操作即可:exportHOMEBREW_NO_INSTALL_CLEANUP=T

go - 错误 : Type is redeclared in this package

在req.go中,我有:packagebasictypeHeadersstruct{}typeBodystruct{}在res.go中,我有相同的:packagebasictypeHeadersstruct{}typeBodystruct{}所以我得到这个错误:'Headers'redeclaredinthispackage'Body'redeclaredinthispackage解决这个问题的唯一方法是将req和res放在它们自己的文件夹中吗?啊这么多文件夹。 最佳答案 包是创建独立和可重用代码的基本单元。从包装内部,您可以引用其

go - 错误 : Type is redeclared in this package

在req.go中,我有:packagebasictypeHeadersstruct{}typeBodystruct{}在res.go中,我有相同的:packagebasictypeHeadersstruct{}typeBodystruct{}所以我得到这个错误:'Headers'redeclaredinthispackage'Body'redeclaredinthispackage解决这个问题的唯一方法是将req和res放在它们自己的文件夹中吗?啊这么多文件夹。 最佳答案 包是创建独立和可重用代码的基本单元。从包装内部,您可以引用其

安装Microsoft Visual Studio Installer Projects 2022

安装MicrosoftVisualStudioInstallerProjects2022点击download: 离线安装网址:MicrosoftVisualStudioInstallerProjects2022-VisualStudioMarketplace提示关闭时安装,遵照执行即可~