installed command whether script
python3 -m pip install --upgrade的作用
`python3 -m pip install --upgrade` 是一个命令行指令,用于升级 Python 包管理器(pip)已安装的包。 具体来说,命令的不同部分的含义如下:- `python3`: 这是一个命令,用于在命令行中运行 Python 解释器。- `-m pip`: 这是一个 Py ......
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
问题现象为通过kubectl进入pods时提示在未来版本中将移除这种进入这种方式,需要使用新的命令格式进入 ```sh [root@master ~]# kubectl exec myweb-c5xq6 -it /bin/bash kubectl exec [POD] [COMMAND] is DE ......
安装文件管理利器 mc [Midnight Commander]
Ubuntu 16.4 版本下面安装文件管理利器 mc #### 官方网址 官方网址:[https://midnight-commander.org/](https://midnight-commander.org/) #### 安装方法 ##### 命令行安装方法 在终端中安装 ``` sudo ......
pip install openai 失败,请用国内源
pip install openai 失败,请用国内源 pip install openai -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com ......
按照官方指导 Install Docker on CentOS 时遇到的问题
https://docs.docker.com/engine/reference/ https://docs.docker.com/engine/installation/linux/centos/ 问题一: GPG key retrieval failed: [Errno 14] curl#6 - ......
cap@0.2.1 install: `node-gyp rebuild`
异常: 首先检查系统环境变量NODE_PATH值是否设置正常 路径下是否有node-gyp包 若是没有就执行以下命令 npm install -g node-gyp ......
tensorflow Installation
## 问题1 ```shell >>> import tensorflow as tf 2023-05-31 10:50:34.908411: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is ......
install plv8 extension for postgres14 on ubuntu22.04
Linux环境下手动build plv8是一个很痛苦的过程,会因为缺少各种依赖和网络问题导致build 失败,这里提供一个可以已经build好的plv8,有需要的可以直接拿去用(注意操作系统的版本和postgres版本哦) 访问下面的地址下载plv8.rar https://github.com/l ......
Java script事件问题
鼠标事件: /* onclick单击 */ /* ondbclick双击 */ /* onmouseover */ /* div1.onclick=function(){ console.log('单击') } div1.ondbcolick=function(){ console.log('双击' ......
CMakeLists --- install和uninstall
install 假设生成了以下几个文件:静态库target1,动态库target2,可执行文件target3 1.安装文件至指定位置 #只安装静态库 install(TARGETS target1 LIBRARY DESTINATION lib ) #安装静态库,动态库,可执行文件 install( ......
安装包(Installer Package)是一种用于安装和卸载软件程序的文件,通常包含了软件程序的所有组件、依赖库、配置信息等等。在 Windows 系统中,安装包通常是以.msi、.exe、.zip、.rar 等格式出现。 以下是几种常见的安装包格式:
安装包(Installer Package)是一种用于安装和卸载软件程序的文件,通常包含了软件程序的所有组件、依赖库、配置信息等等。在 Windows 系统中,安装包通常是以.msi、.exe、.zip、.rar 等格式出现。 以下是几种常见的安装包格式: .msi 格式:Windows Insta ......
pip install时遇到subprocess-exited-with-error错误
当我使用容器在外网下载的peft源码包中使用pip install -e . 命令进行安装时,安装顺利进行。 而当我在公司内网使用相同容器进行安装时,报出题目中的错误,因为是离线安装,所以我猜测是不是网络问题,因为这两个区别就是一个联网一个没有联网,于是我在内网pip install -e . 命令 ......
不小心关闭了maven build script found,maven找不到怎么办
dea打开maven项目,会有maven build script found提示,提示所有maven模块,以及import导入快捷按钮,之后就可以看到maven的tool windows 如果同学不小心关闭了,也没有关系 **方法一:**选中项目中的pom文件,右键,add as maven pr ......
【Python-Scripts】自动删除Jenkins任务构建历史记录
任务背景: Jenkins构建历史记录很多,占用服务器磁盘空间较大,根据开发需求定期删除历史记录。 1 #!/usr/bin/env python 2 # -*- coding:utf-8 -*- 3 4 5 import datetime 6 import jenkins 7 import tim ......
Could not find the DLL(s) 'msvcp140_1.dll'. TensorFlow requires that these DLLs be installed
python -c "from transformers import pipeline; print(pipeline('sentiment-analysis')('we love you'))"Microsoft Visual C++ Redistributable is not install ......
解决 Unknown or unsupported command 'install'
安装(盘位置随意,建议在C) 当出现如下错吴时: 下载一下python语言,点击Scripts 观察是否有:pip.exe(注意图标,自能是这个) 在路径中输入cmd后运行 打开后输入:pip install appium-python-client 就可以了 ......
Linux shell command base64 All In One
Linux shell command base64 All In One
email address encryption / 邮箱地址加密
应用场景
防止爬虫爬取邮箱地址发送垃圾邮件
base64 encode & decode
......
ld链接脚本(Linker Scripts)
参考博客: 比较全的解释内容。 链接脚本(Linker Scripts)语法和规则解析(自官方手册) https://www.cnblogs.com/jianhua1992/p/16852784.html ld文件(链接器脚本)是一个文本文件,用于描述可执行文件或者目标文件的内存布局和分配。在编译和 ......
install baidunetdisk-bin
yay -S baidunetdisk-bin AUR Explicit (1): baidunetdisk-bin-4.17.7-1:: (1/1) 下载了 PKGBUILD: baidunetdisk-bin 1 baidunetdisk-bin (构建文件已存在)==> 清理哪些软件包的构建文 ......
How to use the shell command to get the version of Linux Distributions All In One
How to use the shell command to get the version of Linux Distributions All In One
如何使用 shell 命令获取 Linux 发行版的版本
hostnamectl
cat /etc/os-release
lsb_rel... ......
go exec.Command windows 参数引号转义问题
Go在windows上调用本地进程传参时的一个天坑 #Golang go在windows上exec.Command调用本地进程在传参的时候有一个天坑,举个栗子来说正常来说一般代码会这么写 ```go cmdLine := "notepad.exe " + `"D:\Program Files\Not ......
npm install 安装报错 npm ERR git@github.com: Permission denied (publickey)
##### 错误描述 ```cmd PS D:\webstorm\vue-element-admin-i18n> npm install --registry=https://registry.npm.taobao.`org``` npm ERR! code 128 npm ERR! An unkn ......
npm install ERR_INVALID_URL错误
我在terminal中设置了proxy后,开启proxyon后,执行npm install包错误: 把proxyoff后,错误又没有了,不知道是啥问题。下面的文章可能有作用: https://weekendprojects.dev/posts/how-to-fix-npm-err_invalid_u ......
Ubuntu install libxlsx
Copy from https://libxlsxwriter.github.io/getting_started.html 1 sudo apt-get install libxslt-dev 2. git clone https://github.com/jmcnamara/libxlsxwri ......
<script> 和 <script setup> 的一些主要差别
<script setup> 是 Vue 3 中的新特性,它是一种简化和更具声明性的语法,用于编写组件的逻辑部分。相比之下,<script> 是 Vue 2 中常用的编写组件逻辑的方式。 下面是 <script> 和 <script setup> 的一些主要差别: 语法简洁性:<script set ......
WPF命令(Command)
**本篇文章学习于:** [刘铁猛老师《深入浅出WPF》](https://www.cnblogs.com/prism/archive/2011/12/15/2288309.html "源文链接") # 命令是什么? 你可能会问:“有了路由事件为什么还需要命令系统呢?”事件的作用是发布、传播一些消息 ......
can't not find Node.js binary ''path",make sure Node.js is installed and in your PATH,or set
vscode中node执行debug报错 报错信息如下 思路1:检查node是否安装成功 win + R 输入cmd 能够正常显示版本号,则证明没有问题,接着换个思路 思路2:根据提示打开图示的'launch.json'文件,在页面补充 runtimeExecutable 具体补充什么内容呢? 在o ......
pip install -r requirements.txt安装问题
一、requirements.txt介绍: 1、python项目中必须包含一个 requirements.txt 文件,用于记录所有依赖包及其精确的版本号。以便新环境部署。 requirements.txt可以通过pip命令自动生成和安装。 2、生成requirements.txt文件:pip fr ......
Linux install vim errors All In One
Linux install vim errors All In One
Vim
......
Linux笔记:4-Shell Script
@[TOC](这里写目录标题) # 学习 Shell Scripts ## 关于Shell Scripts >shell script 号称是程序 (program) ,但实际上, shell script 处理数据的速度上是不太够的。 > >因为 shell script 用的是外部的指令与 ba ......