草庐IT

specific-install

全部标签

【2023.4.19】重新安装 Cocoapods 解决 pod install 卡住或者 cocoapods 依赖无法更新等问题

重新安装Cocoapods(2023.4.19)做ios或flutter开发时,经常会遇到添加依赖过后podinstall卡住,或者其他的一些奇奇怪怪的问题,如果花了很长时间都没有解决的话可以试试重新安装Cocoapods,这在大多数情况下都能有所帮助一、卸载cocoapods1.打开终端2.whichpod whichpod rm-rf/user/local/opt/ruby/bin/pod(此处可能不同)3.gemlist下面是卸载包的命令,如果安装了多个版本的cocoapods,卸载时加版本号sudogemuninstallcocoapodssudogemuninstallcocoapo

编译内核 make modules_install报错SSL error:02001002:system library:fopen:No such file or directory

        在编译内核实验中,在完成make、make_modules操作后在makemodules_install的过程中报错SSLerror:02001002:systemlibrary:fopen:Nosuchfileordirectory:        推测是由于在解决make环节的报错make[1]:***没有规则可制作目标“debian/canonical-certs.pem”,由“certs/x509_certificate_list”需求。停止时将CONFIG_MODULE_SIG_KEY与CONFIG_SYSTEM_TRUSTED_KEYS均置空的操作导致。 CONFI

VS2019 打包扩展(Microsoft Visual Studio Installer Projects)下载慢的问题

想要打包写好的程序,于是先下载MicrosoftVisualStudioInstallerProjects。结果半天都没下载好。尝试了VS内扩展、官网下载,改网络配置DNS之类的都没用。解决办法:坐飞机去外国下载,10s下载完毕。下载好会自动安装,重启VS2019就ok了。

Dr. LLaMA: Improving Small Language Models in Domain-Specific QAvia Generative Data Augmentation

https://arxiv.org/pdf/2305.07804.pdfhttps://arxiv.org/pdf/2305.07804.pdfOurfindingsindicatethatLLMseffectivelyrefineanddiversifyexistingquestion-answerpairs,resultinginimprovedperformanceofamuchsmallermodelondomain-specificQAdatasetsafterfine-tuning.ThisstudyhighlightsthechallengesofusingLLMsfordoma

c# - Visual Studio 2017 无法使用 "Unable to download installation files"脱机安装

因此,我使用以下命令在我的笔记本电脑上创建了VS2017Community的离线安装:vs_community.exe--layout"D:\Downloads\VSCommunity2017"--langen-US--addMicrosoft.VisualStudio.Component.CoreEditorComponent.WebSocketMicrosoft.VisualStudio.Workload.ManagedDesktopMicrosoft.VisualStudio.Workload.NetCrossPlatMicrosoft.VisualStudio.Workload

c# - Visual Studio 2017 无法使用 "Unable to download installation files"脱机安装

因此,我使用以下命令在我的笔记本电脑上创建了VS2017Community的离线安装:vs_community.exe--layout"D:\Downloads\VSCommunity2017"--langen-US--addMicrosoft.VisualStudio.Component.CoreEditorComponent.WebSocketMicrosoft.VisualStudio.Workload.ManagedDesktopMicrosoft.VisualStudio.Workload.NetCrossPlatMicrosoft.VisualStudio.Workload

c# - Razor 智能感知错误 : Feature 'extension method' cannot be used because it is not part of the ISO-2 C# language specification

目标:使用cshtmlRazor模板格式化数据将cshtmlRazor模板作为嵌入式资源嵌入到类库中在cshtml模板中使用Linq语句和扩展方法我创建了一个新的类库项目,然后改编了ScottHanselman's有关如何将MVC3集成到WebForms应用程序以使其在类库中工作的说明。然后我使用NuGet包RazorEngine将模板应用于对象。到目前为止,它运行良好,但有一个问题:在编辑cshtml文件时,智能感知无法识别Linq语句或扩展方法(MVC的一个非常重要的部分)。因此对于以下cshtml文件:@modelCustomer[]@Model.Count()@if(Model

c# - Razor 智能感知错误 : Feature 'extension method' cannot be used because it is not part of the ISO-2 C# language specification

目标:使用cshtmlRazor模板格式化数据将cshtmlRazor模板作为嵌入式资源嵌入到类库中在cshtml模板中使用Linq语句和扩展方法我创建了一个新的类库项目,然后改编了ScottHanselman's有关如何将MVC3集成到WebForms应用程序以使其在类库中工作的说明。然后我使用NuGet包RazorEngine将模板应用于对象。到目前为止,它运行良好,但有一个问题:在编辑cshtml文件时,智能感知无法识别Linq语句或扩展方法(MVC的一个非常重要的部分)。因此对于以下cshtml文件:@modelCustomer[]@Model.Count()@if(Model

QT - QML 遇到 module “QtQuick.Controls“ version 2.5 is not installed 的相关问题的解决策略

问题由来,在跟着视频敲代码时,需要用到DelayButton这个控件,因此需要导入相关的库模块(跟着视频敲的是importQtQuick.Controls2.5),但可能由于版本较低的原因没有安装这个库模块。根据输入提示,有个importQtQuick.Controls2.1,但是,这个库模块中并不支持DelayButton这个控件。于是,使用更高一些的版本(QT5.9)去尝试打开,还是没有装2.5,但是,此时DelayButton这个控件变了颜色,通过F1进行跳转进去查看介绍后,发现,于是,调整为2.4后,程序可运行。然后再次使用低版本的QT打开(QT5.9),2.4也没有,但是可用F1进行

ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘d:\\anaco

ERROR:CouldnotinstallpackagesduetoanOSError:[Errno2]Nosuchfileordirectory:‘d:\anaconda3\envs\pytorch\lib\site-packages\numpy-1.21.6.dist-info\METADATA’原因:之前已经安装过numpy,导致新安装的numpy的numpy-1.21.6.dist-info目录中没有METADATA文件。解决方法:找到之前的安装的numpy的numpy-1.21.6.dist-info目录,将没有的的文件拷贝到新安装的numpy的numpy-1.21.6.dist-i