草庐IT

install-configuration

全部标签

CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘.简单解决方案

CommandNotFoundError:Yourshellhasnotbeenproperlyconfiguredtouse‘condaactivate’.简单解决方案(这种错误有时候突然出现,有时候自动消失,此所谓突然抽风)一、错误的理解,首先对应错误的直接翻译如下,其实就是指令没找到,出现错误。CommandNotFoundError:Yourshellhasnotbeenproperlyconfiguredtouse'condaactivate'.Ifusing'condaactivate'fromabatchscript,changeyourinvocationto'CALLcond

SpringBoot项目出现Failed to configure a DataSource错误时解决方法

 若在运行SpringBoot项目时,出现如下错误:Description:FailedtoconfigureaDataSource:'url'attributeisnotspecifiedandnoembeddeddatasourcecouldbeconfigured.Reason:FailedtodetermineasuitabledriverclassAction:Considerthefollowing: Ifyouwantanembeddeddatabase(H2,HSQLorDerby),pleaseputitontheclasspath. Ifyouhavedatabaseset

Build was configured to prefer settings repositories over project repositories but repository ....问题

关于“Buildwasconfiguredtoprefersettingsrepositoriesoverprojectrepositoriesbutrepository'MavenRepo'wasaddedbybuildfile'app\build.gradle'”问题的解决方案本人的原因:增加kotlin的兼容支持;当然还有其他原因导致,这里不细述;有用解法步骤如下:1,将setting.gradle文件的该配置注释掉://dependencyResolutionManagement{//repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJE

Build was configured to prefer settings repositories over project repositories but repository ....问题

关于“Buildwasconfiguredtoprefersettingsrepositoriesoverprojectrepositoriesbutrepository'MavenRepo'wasaddedbybuildfile'app\build.gradle'”问题的解决方案本人的原因:增加kotlin的兼容支持;当然还有其他原因导致,这里不细述;有用解法步骤如下:1,将setting.gradle文件的该配置注释掉://dependencyResolutionManagement{//repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJE

在.NetFramework中使用Microsoft.Extensions.Configuration 读取Json和XML

//需要安装Microsoft.Extensions.Configuration;//Microsoft.Extensions.Configuration.json//Microsoft.Extensions.Configuration.xml//Microsoft.Extensions.Configuration.Binder;//注意:json的key中不能出现冒号":"//XML的Atrribute中不能出现关键词“Name”,且不能使用根节点(从第一个子节点开始)usingMicrosoft.Extensions.Configuration;usingSystem;usingSyste

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进行

【Microsoft Visual Studio安装问题】Microsoft.VisualStudio.Setup.Configuration

成功撒花~~~真的太不容易了~在安装visualstudio的过程中真的状况百出,通过查看日志找到系统策略禁止安装此设备,请与系统管理员联系因此赶紧百度这个问题。。。百度上有很多关于这个问题的解决方法,尝试了很多种但都不太完全,最终解决方法如下:点击win+R输入-->gpedit.msc,然后按照左边检索出右边的框框部分,该启动的启动,该禁用的禁用~~~附:感恩搜索引擎和火绒,我还了解了注册表等知识耶

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

[plugin:vite:css] Preprocessor dependency “sass“ not found. Did you install it?

报错信息:[plugin:vite:css]Preprocessordependency“sass”notfound.Didyouinstallit?解决办法:安装node-sass或sass就可以解决不安装的话就去除style中的lang属性方法一:npminstallnode-sass方法二:npminstallsass--save-dev方法三:去除style中的lang属性我这里用的是方法二,安装“npminstallsass--save-dev”,安装成功后再启动项目,就成功了。

MySQL安装出现The configuration for MySQL Server 8.0.28 has failed. You can...错误

The configuration for MySQL Server 8.0.28 has failed. You can find more information about the failures in the 'Log' tab. 遇见这种情况,作者当时也是痛苦万分,网上找了许许多多的方法试了好多次都不行。https://blog.csdn.net/lxhsjl121/article/details/118969432 上面哪个博客我试过毒了,不行。分析问题。出现这种问题是因为我们之前安装过但是没有安装完全就取消了,电脑里面已经存储了。解决办法其他特别高深的我也试了试,不仅麻烦,操作