草庐IT

install-rectangular-package

全部标签

IDEA 报错Git is not installed

原因没有配置git地址setting内找到git,添加本地git地址就可以了  

swift - OS X 开发 : how to install a new font into the system

首先,我知道Info.plist中的ATSApplicationFontsPath属性。但它只为我的应用程序添加了自定义字体。我希望我的应用程序在首次启动时将一些字体安装到OSX中。那是因为我的应用导出文本,我必须确保用户在其他应用中打开他的文件时不会丢失正确的文本格式。我在FinalDraft应用程序中看到了这种行为。它的Resources文件夹中有自定义字体。它的Info.plist没有ATSApplicationFontsPath属性。但在首次启动后,FinalDraft以某种方式将这些字体安装到系统中并使用它们。这怎么可能?没有接近解决这个问题。 最

ios - pod install 后 Alamofire 报错

我知道对此有很多疑问,但我找不到解决方案。我使用Xcode8和swift2.3。当我在我的应用程序中添加Alamofire时,构建总是失败,并且它给我与swift版本相关的错误。如果有人遇到同样的问题并解决了它,请给我解决方案或建议我正确使用Alamofire的方法(这是我第一次使用它,我对iosdevlopement真的很陌生)编辑:我测试了这个:pod'Alamofire','~>3.5'然后我做了一个podinstall,当我构建项目时我得到了这个错误:Alamofire不会进行代码签名,因为它的设置没有指定开发团队。需要为使用Swift的目标正确配置“使用旧版Swift语言版本

the “@esbuild/darwin-x64“ package is present but this platform needs the “@esbuild/darwin-arm64“

搭建vite运用ts项目时,为了配置别名./src=@,引入了importpathfrom'path',出现报错,不存在path,但是path是存在node环境中的,所以就引入对ts进行声明了。使用npmi-D@types/node解决了path报错,但是当再次运行的时候就出现了the"@esbuild/darwin-x64"packageispresentbutthisplatformneedsthe"@esbuild/darwin-arm64"packageinstead.看了一下安装时候的记录,安装的是@esbuild/darwin-arm64所以卸载npmuninstall-D@typ

npm install报错unable to resolve dependency tree

一、问题背景npminstall安装项目依赖时报错PSD:\test>npminstallnpmERR!codeERESOLVEnpmERR!ERESOLVEunabletoresolvedependencytreenpmERR!npmERR!Whileresolving:vue-admin-template@4.2.1npmERR!Found:webpack@5.74.0npmERR!node_modules/webpacknpmERR!devwebpack@"^5.11.0"fromtherootprojectnpmERR!npmERR!Couldnotresolvedependency:

Swift Package Manager - 语音依赖不加载

我在为我的项目创建Swift包时遇到问题。我有CocoaPods和TravisCI正在运行并且两者都在流畅地工作,但是我现在还打算通过SwiftPackageManager提供该项目。这就是我遇到问题的地方。我的包文件如下所示://swift-tools-version:4.2//Theswift-tools-versiondeclarestheminimumversionofSwiftrequiredtobuildthispackage.importPackageDescriptionletpackage=Package(name:"Voxosonus",products:[//Pr

[linux] huggingface transformers 如何下载模型至本地 & git lfs install 报错

bert-base-uncasedatmain一、官方给出的命令:#Makesureyouhavegit-lfsinstalled(https://git-lfs.com)gitlfsinstallgitclonehttps://huggingface.co/bert-base-uncased#ifyouwanttoclonewithoutlargefiles–justtheirpointers#prependyourgitclonewiththefollowingenvvar:GIT_LFS_SKIP_SMUDGE=1但是gitlfsinstall的时候报错。于是查了一下。。。。安装lfs是

安装git提示E: Package ‘git‘ has no installation candidate

安装git提示E:Package‘git’hasnoinstallationcandidate:安装git提示E:Package‘git‘hasnoinstallationcandidate安装git提示E:Package'git'hasnoinstallationcandidate:问题描述解决方案原因一原因二原因三(1)查看系统版本(2)修改源文件(3)增加国内源总结问题描述Linux系统(Ubuntu18.04.3)中使用apt工具安装git工具时出现E:Package‘git‘hasnoinstallationcandidate问题:E:Package'git'hasnoinstall

解决:Collecting package metadata (current_repodata.json)/ Solving environment

安装Pytorch时报错:Collectingpackagemetadata(current_repodata.json):-WARNINGconda.models.version:get_matcher(556):Using.*withrelationaloperatorissuperfluousanddeprecatedandwillberemovedinafutureversionofconda.Yourspecwas1.7.1.*,butcondaisignoringthe.*andtreatingitas1.7.1doneSolvingenvironment:unsuccessful

Collecting package metadata (current_repodata.json): failed

一、问题描述安装anaconda之后,想创建环境,用了下面这段代码:condacreate-npytorchpython=3.9conda创建环境报错了,报了如下这一堆:Collectingpackagemetadata(current_repodata.json):failedUnavailableInvalidChannel:Thechannelisnotaccessibleorisinvalid.channelname:simplechannelurl:https://pypi.tuna.tsinghua.edu.cn/simpleerrorcode:404Youwillneedtoad