草庐IT

Install4

全部标签

npm install 报错 this command with --force, or --legacy-peer-deps

运行  npminstall--legacy-peer-deps 紧接运行 npmrunserve报错如下然后针对这个报错,1.删除这个 vue/compiler-sfc,又重装,2.删除整个node_modules,又初始化,3.安装更新过vue-loader的版本4.将npm改成6版本再运行  等等都无效最后再此正式思考第一个报错,  尝试运行   npminstall --force 再运行  npmrunserve终于成功了,😢😢😢

解决brew install后卡住不动Error: Cannot download non-corrupt https://formulae.brew.sh/api/formula.jws.json

运行brewinstall就会提示如下信息: 解决方法如下:在终端执行以下命令即可:exportHOMEBREW_NO_INSTALL_FROM_API=1

pip 安装报错 required to install pyproject.toml-based projects

主要提示这两个信息:MicrosoftVisualC++14.0orgreaterisrequired.Getitwith"MicrosoftC++BuildTools":https://visualstudio.microsoft.com/visual-cpp-build-tools/ERROR:Couldnotbuildwheelsforpsutil,whichisrequiredtoinstallpyproject.toml-basedprojects复制代码解决:进入vs官网,下载安装成功安装后,还要安装以下内容:重新执行pip,成功下载!注意一定勾选上“使用C++的桌面开发”,只安装

【HarmonyOS】【FAQ】使用hdc命令安装hap包时,出现以下错误: failed to install bundle. error: operation time out.

【问题描述】hap包大小为121M,使用hdc命令安装时,出现以下错误提示:[Info]Appinstallpath:D:\OpenHarmony\WorkSpace\map\entry\build\default\outputs\default\entry-default-signed.hap,queuesize:0,msg:error:failedtoinstallbundle.error:operationtimeout.【解决方案】使用bm命令安装应用时,默认超时时间为5s,如果超过这个时间,bm会返回安装超时,可以通过-w参数将超时时间延长,参考下面wiki,安装命令章节 https

pip install -i 国内镜像地址

pipinstall包名-i国内镜像地址例如:pipinstallpygame-ihttps://mirrors.aliyun.com/pypi/simple/国内常用源镜像地址:清华:https://pypi.tuna.tsinghua.edu.cn/simple阿里云:http://mirrors.aliyun.com/pypi/simple/中国科技大学https://pypi.mirrors.ustc.edu.cn/simple/华中理工大学:http://pypi.hustunique.com/山东理工大学:http://pypi.sdutlinux.org/豆瓣:http://py

报错:To install it, you can run : npm install --save @api/***解决方法

启动项目时,控制台报错,在此记录一下以下是报错原因:报错信息如下Toinstallit,youcanrun:npminstall--save@/api/tNursingStaffCirculationProxyerror:Couldnotproxyrequestauth/codefromlocalhost:8013tohttp://local.Seehttps://nodejs.org/api/errors.html#errors_common_system_errorsformoreinformation(ECONNREFUSED).以下是解决的失败过程:首先它告诉你让你安装如下:npmin

鸿蒙DevEco Studio 远程真机测试Failure[INSTALL_FAILED_APP_SOURCE_NOT_TRUSTED]

鸿蒙DevEcoStudio远程真机测试Failure[INSTALL_FAILED_APP_SOURCE_NOT_TRUSTED]文章目录鸿蒙DevEcoStudio远程真机测试Failure[INSTALL_FAILED_APP_SOURCE_NOT_TRUSTED]前言一、很明显这个是签名有问题二、明确问题了直接重新自动签名就好了1.点这里2.选择方块这里总结前言出现无法安装得问题一般都是没有签名或者签名有问题一、很明显这个是签名有问题这个错误是签名信息中不包含当前真机设备的UDID信息二、明确问题了直接重新自动签名就好了1.点这里2.选择方块这里总结总之自动签名即可

解决go install github.com/mattn/goreman@latest安装报错

goinstallgithub.com/mattn/goreman@latest报错:[root@localhost~]#goinstallgithub.com/mattn/goreman@latestgo:github.com/mattn/goreman@latest:modulegithub.com/mattn/goreman:Get"https://proxy.golang.org/github.com/mattn/goreman/@v/list":dialtcp142.251.42.241:443:connect:connectionrefused解决方法如下:手动下载包安装,如果cl

pip install 之subprocess-exited-with-error

工作搞AirTest时遇到pip安装的系列问题。pipinstall安装公司源时,先遇到这个错:按照提示,更新了pip最新版D:\apps\Python310\python.exe-mpipinstall--upgradepip,依然报同样的错;执行了绿色的命令:pythonsetup.pyegg_info也没问题。关键的错误信息:errorindemjsonsetupcommand:use_2to3isinvalid搜索后说是demjson2.2.4兼容python2和python3,当安装环境为python3时,有一部分代码需要转换,Setuptools从版本58.0.0开始不再支持2to

pip git+install 报错解决

有时候用pipgit+install会报错。以下是解决方案: 可以分为两种方式:方法1:(1)对于已经安装git的同学,可以gitclone 网络地址(2)cd到下载的文件,再pipsetup.pyinstall 这里注意两点a.cd文件夹下存在 setup.py文件b如果按照python的时候有管理员权限可以 pipsetup.pyinstall 否则, pipsetup.pyinstall --user方法2:如果没有安装git,可以直接登录方法1(1)的网络地址,点击DownloadZIP就可以 本人更喜欢方法2,因为登录github网络经常不是很快,这样直接下载,断了可以继续下。下载下