首页 > 其他分享 >PIP 脚本

PIP 脚本

时间:2024-03-16 10:11:25浏览次数:15  
标签:脚本 BAT ugot MIRROR% PYPI pip install PIP

@echo off
set PYTHONIOENCODING=utf-8
set PYPI_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple
rem 使用pip安装ugot
pip install ugot -i %PYPI_MIRROR%
rem 使用pip安装requests
pip install requests -i %PYPI_MIRROR%
pip install concurrent-log-handler -i %PYPI_MIRROR%
pip install grpcio -i %PYPI_MIRROR%
pip install protobuf -i %PYPI_MIRROR%
pip install grpcio-tools -i %PYPI_MIRROR%
pip install wheel -i %PYPI_MIRROR%
pip install zeroconf -i %PYPI_MIRROR%
pip install jupyterlab -i %PYPI_MIRROR%

rem 使用pip安装当前路径下的ugot-0.2.9-py3-none-any.whl
set BAT_PATH=%~dp0
echo The current batch file path is: %BAT_PATH%
pip install --no-binary :all: --no-cache-dir --force-reinstall %BAT_PATH%\ugot-0.2.9-py3-none-any.whl -i %PYPI_MIRROR%
echo compled!
pause

 

标签:脚本,BAT,ugot,MIRROR%,PYPI,pip,install,PIP
From: https://www.cnblogs.com/flyingsir/p/18076766

相关文章

  • Pycharm 中 virtualenv、pipenv、conda 虚拟环境的用法
    文章目录前言虚拟环境的通俗介绍虚拟环境和非虚拟环境该怎么选?通过Virtualenv方式创建虚拟环境通过Pipenv方式创建虚拟环境通过Conda方式创建虚拟环境 前言在网上找了好一些资料,发现介绍Pycharm虚拟环境的不多,查了一些资料,并做个总结。本文主要是介绍Pyc......
  • 检查视频完整性脚本
    !/bin/shinotifywait-rmq/disk1/ftpMY_SAVEIFS=$IFSIFS=$'\n'path=/disk1/$1/files=$(ls$path)forfilein$filesdoret=ffprobe-verror-show_entriesformat=duration-ofdefault=noprint_wrappers=1:nokey=1-i$path$fileif[["$file&qu......
  • mysql备份脚本
    !/bin/bash备份路径db_backup_path="/data/backup"备份的数据库db_name=("live_net")用户名db_user="root"密码db_pass="[email protected]"gzip文件解压缩密码gz_des_pass="fff@20210326"压缩文件前缀prefix=“credit"日志路径log_path=&quo......
  • Preview pipeline: Display_Out SetupTargetBuffer
    camx/src/core/hal/camxhaldevice.cppCamxResultHALDevice::ProcessCaptureRequest(Camera3CaptureRequest*pRequest){result=GetCHIAppCallbacks()->chi_override_process_request(reinterpret_cast<constcamera3_device*>(&m_c......
  • Write failed: Broken pipe > Couldn‘t read packet: Connection reset by peer SFTP
    如果你链接服务器的时候出现下面的提示:Writefailed:BrokenpipeCouldn’treadpacket:Connectionresetbypeer这个问题的原因是ChrootDirectory的权限问题,你设定的目录必须是root用户所有,否则就会出现问题。所以请确保sftp用户根目录的所有人是root,权限是750或者755。......
  • bigget_nft领取脚本
    #coding:utf-8#importuiautomator2asu2importtimefromtqdmimporttqdmfromloguruimportloggerdefxpath是否存在(xpath,timeout=30):forindexinrange(0,timeout):wallet_ele=d.xpath(xpath).existsif(wallet_ele):log......
  • 常用Shell脚本 - 开发环境安装
    功能描述在AmazonLinux上快速安装开发环境,包括Python3.11.8,Nodejs,npm,yarn,GO工具。#!/bin/bash#@Author:LanShiyun#@CreateTime:2024/3/15#@FileName:install_development_env.sh#@Version:1.0#@Software:VSCode#@UpdateTime:2024/3/15#......
  • 常用Shell脚本 - Docker and Docker-compose 安装
    功能描述在AmazonLinux上自动安装DockerandDocker-compose#!/bin/bash#@Author:LanShiyun#@CreateTime:2024/3/15#@FileName:install_docker_4_aws_.sh#@Version:1.0#@Software:VSCode#@UpdateTime:2024/3/15#@UpdateBy:LanShiyun#@Des......
  • shell脚本实现子母大小写转换
    文章目录把变量中的第一个字符换成大写把变量中的所有小写字母,全部替换为大写把变量中的第一个字符换成小写把变量中的所有大写字母,全部替换为小写用tr需要新增变量,用declare或typeset需要在变量赋值前或者赋值后单独声明,都有些麻烦此方法为bash4.0以后新增,bash4......
  • CentOS7系统虚拟环境下pip install uwsgi遇到错误
    遇到的错误为ERROR:Couldnotbuildwheelsforuwsgi,whichisrequiredtoinstallpyproject.toml-basedprojects尝试了n种办法,按照网上的攻略甚至是ChatGPT的说法安装了一堆的环境依赖,都解决不了。最后看到有人在装其他组件遇到类似的问题,思路是要装的版本相对于所安装的......