- ## USAGE
- # 收集离线安装包
- pip download -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements-win.txt -d C:\temp\sri-server-bg03
- # pip download -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements-win.txt -d D:\temp\sri-server-bg03
- # pip download -r requirements-win.txt -d D:\temp\sri-server-bg03
- # 离线安装
- pip install --no-index --find-links=C:\temp\sri-server-bg03 -r requirements-win.txt
- # 验证
- python main.py
- # 在线安装
- pip install -r requirements-win.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|