@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