草庐IT

found_iterID

全部标签

Pycharm使用Anaconda虚拟环境找不到Python.exe:报错:Conda executable is not found

Pycharm使用Anaconda虚拟环境找不到Python.exe:报错:Condaexecutableisnotfound问题描述很多同学在初始配置虚拟环境的时候都会用到Anaconda(Conda)系列,然而,使用Pycharm配置python环境的时候却找不到虚拟环境里的python.exe文件,报错:Condaexecutableisnotfound,具体见下图前人的解决方案将虚拟环境加入到环境变量里(不解?)找到conda.exe(实践后发现anaconda不认这个exe文件)我的解决方案直接在VirtualenvEnviroment中找conda的虚拟环境里的python.exe

no matching host key type found. Their offer: ssh-rsa 问题解决

最近升级了MacOSVentura13.0.1后发现ssh指定密钥登录服务器失败。nomatchinghostkeytypefound.Theiroffer:ssh-rsa进入当前用户的.ssh目录发现比之前系统多了一个config文件查看sshd版本,发现升级了,需要指定算法参数解决办法:方法1.ssh命令指定算法,每次指定比较麻烦ssh-oHostKeyAlgorithms=+ssh-rsa-oPubkeyAcceptedKeyTypes=+ssh-rsauser@host-p2222方法2. 修改ssh配置文件 ~/.ssh/config,增加配置项,一劳永逸HostKeyAlgorit

no matching host key type found. Their offer: ssh-rsa 问题解决

最近升级了MacOSVentura13.0.1后发现ssh指定密钥登录服务器失败。nomatchinghostkeytypefound.Theiroffer:ssh-rsa进入当前用户的.ssh目录发现比之前系统多了一个config文件查看sshd版本,发现升级了,需要指定算法参数解决办法:方法1.ssh命令指定算法,每次指定比较麻烦ssh-oHostKeyAlgorithms=+ssh-rsa-oPubkeyAcceptedKeyTypes=+ssh-rsauser@host-p2222方法2. 修改ssh配置文件 ~/.ssh/config,增加配置项,一劳永逸HostKeyAlgorit

python报错:ERROR: No matching distribution found for

 使用pip安装包时提示报错如下:ERROR:Couldnotfindaversionthatsatisfiestherequirement (fromversions:none)ERROR:Nomatchingdistributionfoundfor 大多数是网络问题,替换使用国内的镜像来源加速即可。打开cmd输入 pipinstall-ihttp://pypi.douban.com/simple/--trusted-hostpypi.douban.com按回车执行命令后,安装成功。例如: 

安装node-sass失败 或 npm install Error: not found: python2 解决方案

使用npm安装node-sass时,或者安装需要python2的依赖时,会报出以下错误。gypverbcheckpythoncheckingforPythonexecutable"python2"inthePATHgypverb`which`failedError:notfound:python2gypverb`which`failedatgetNotFoundError(E:\codes\proviet\client-nuxt\node_modules\which\which.js:13:12)gypverb`which`failedatF(E:\codes\proviet\client-n

c# - 尝试使用 WebAPI 时获取 "No type was found that matches the controller named ' SampleSlashBaseService'"

我有一个带有名为SlashBaseService的基本ApiController的webapi项目:[RouteArea("uBase")]publicabstractclassSlashBaseService:ApiController{}生成的dll用于WebForms项目,因此我还有一个WebActivator类,其中包含以下代码来生成路由:RouteTable.Routes.MapHttpAttributeRoutes(config=>{//GetallservicesinheritingfromSlashBaseServiceforeach(varassemblyinAppD

c# - 尝试使用 WebAPI 时获取 "No type was found that matches the controller named ' SampleSlashBaseService'"

我有一个带有名为SlashBaseService的基本ApiController的webapi项目:[RouteArea("uBase")]publicabstractclassSlashBaseService:ApiController{}生成的dll用于WebForms项目,因此我还有一个WebActivator类,其中包含以下代码来生成路由:RouteTable.Routes.MapHttpAttributeRoutes(config=>{//GetallservicesinheritingfromSlashBaseServiceforeach(varassemblyinAppD

A fatal error occurred. The required library hostfxr.dll could not be found.错误处理

一个可控制台程序使用.NET6开发,发行版运行出现如下错误:Afatalerroroccurred.Therequiredlibraryhostfxr.dllcouldnotbefound.Ifthisisaself-containedapplication,thatlibraryshouldexistin[D:\xxxServer\].Ifthisisaframework-dependentapplication,installtheruntimeinthegloballocation[C:\ProgramFiles(x86)\dotnet]orusetheDOTNET_ROOTenviro

Docker 启动容器报错: Error response from daemon: network XXX not found

[root@xxxdc-gitlab]#dockerstartcce932ba5dc2Errorresponsefromdaemon:networkase6cd78ccf7f24c49871653f2ddnotfoundError:failedtostartcontainers:css932ba5dd3以上为报错信息,之前的桥接这些都是配置好的。解决方案:docker-composeup-d--force-recreate即可解决。场景:    在做生产上线的时候,之前docker启动的gitlab,突然端口不能被访问到了,查看了对应服务器监听端口也没问题。可以ping通,telnet端口就是

PIP安装python包,报ERROR: No matching distribution found for XXXXX 问题的处理

PIP安装python包,报ERROR:NomatchingdistributionfoundforXXXXX问题的处理最近在安装python包的时候老是报一个错误:PSC:\Users\Administrator>pipinstallmatplotlibWARNING:Retrying(Retry(total=4,connect=None,read=None,redirect=None,status=None))afterconnectionbrokenby'ProxyError('Cannotconnecttoproxy.',TimeoutError('_ssl.c:980:Thehand