草庐IT

BUILDING

全部标签

安装opencv-python解决Building wheel for opencv-python (PEP 517)问题

开始是为了安装albumentations这个库,经常会卡在这步上,于是重新创建conda环境,重新安装opencv1conda环境中,如果不创建环境,激活环境,是会在全局安装你所需要的包。如果创建环境,你的包就会乖乖的躺在你的指定环境的文件夹下(如下图),这有啥用呢,这就会避免一些因为环境不匹配造成的,找不到解决方法的破问题。2如何创建环境法一:可视化版本法二:终端输入命令condacreate-npy3python=3.9激活这个叫deeplearning的环境condaactivatedeeplearning这时候命令行就变了deeplearning开头了,然后输入condainstal

安装opencv-python解决Building wheel for opencv-python (PEP 517)问题

开始是为了安装albumentations这个库,经常会卡在这步上,于是重新创建conda环境,重新安装opencv1conda环境中,如果不创建环境,激活环境,是会在全局安装你所需要的包。如果创建环境,你的包就会乖乖的躺在你的指定环境的文件夹下(如下图),这有啥用呢,这就会避免一些因为环境不匹配造成的,找不到解决方法的破问题。2如何创建环境法一:可视化版本法二:终端输入命令condacreate-npy3python=3.9激活这个叫deeplearning的环境condaactivatedeeplearning这时候命令行就变了deeplearning开头了,然后输入condainstal

Substrate and Polkadot: Building a Blockchain Development and Cross-Chain Framework for Web

WiththeadventofWeb3.0andthemetaverse,theindustryfacesapressingneedtodevelopWeb3.0-compatibleblockchainsolutionsmoreefficientlyandquickly.SubstrateandPolkadotareopensourceblockchaindevelopmentframeworksthatmodularizeblockchainsystemswhileintegratingbetterconsensusprotocols,on-chainandoff-chaininterac

Substrate and Polkadot: Building a Blockchain Development and Cross-Chain Framework for Web

WiththeadventofWeb3.0andthemetaverse,theindustryfacesapressingneedtodevelopWeb3.0-compatibleblockchainsolutionsmoreefficientlyandquickly.SubstrateandPolkadotareopensourceblockchaindevelopmentframeworksthatmodularizeblockchainsystemswhileintegratingbetterconsensusprotocols,on-chainandoff-chaininterac

Jitpack发布Android库出现Direct local .aar file dependencies are not supported when building an AAR

原文:Jitpack发布Android库出现Directlocal.aarfiledependenciesarenotsupportedwhenbuildinganAAR-Stars-One的杂货小窝问题描述由于我项目中某个Module引用了本地的aar文件,导致出现了此问题>Directlocal.aarfiledependenciesarenotsupportedwhenbuildinganAAR.TheresultingAARwouldbebrokenbecausetheclassesandAndroidresourcesfromanylocal.aarfiledependenciesw

Jitpack发布Android库出现Direct local .aar file dependencies are not supported when building an AAR

原文:Jitpack发布Android库出现Directlocal.aarfiledependenciesarenotsupportedwhenbuildinganAAR-Stars-One的杂货小窝问题描述由于我项目中某个Module引用了本地的aar文件,导致出现了此问题>Directlocal.aarfiledependenciesarenotsupportedwhenbuildinganAAR.TheresultingAARwouldbebrokenbecausetheclassesandAndroidresourcesfromanylocal.aarfiledependenciesw

Xcode12 执行 pod lib lint 报错:building for iOS Simulator, not found for architecture arm64

前言之前打包机升级Xcode12之后发现私有库发版时执行podliblint命令报错,一开始看报错信息提示以为是Xcode12或者CocoaPods的锅,想着蹲个新版本出来也许就好了,就暂时没管,打包机仍旧使用Xcode11发版。后来因为另外的需求需要我们升级Xcode12,要优先解决组件发版报错问题,所以就仔细排查了下这个问题。复现随便找一个简单的开源库,以HoloTableView为例,在其podsepc里随便依赖一个静态库,以AppsFlyerFramework为例:s.dependency'AppsFlyerFramework's.static_framework=true执行lint

Xcode12 执行 pod lib lint 报错:building for iOS Simulator, not found for architecture arm64

前言之前打包机升级Xcode12之后发现私有库发版时执行podliblint命令报错,一开始看报错信息提示以为是Xcode12或者CocoaPods的锅,想着蹲个新版本出来也许就好了,就暂时没管,打包机仍旧使用Xcode11发版。后来因为另外的需求需要我们升级Xcode12,要优先解决组件发版报错问题,所以就仔细排查了下这个问题。复现随便找一个简单的开源库,以HoloTableView为例,在其podsepc里随便依赖一个静态库,以AppsFlyerFramework为例:s.dependency'AppsFlyerFramework's.static_framework=true执行lint