Python-Ray Offline Installation Guide
Python-Ray Offline Installation Guide
Prerequisites
- Python 3.12
- pip >= 21.0
Steps
-
Create ray offline packages folder:
mkdir ray_offline_pkgs && cd ray_offline_pkgs -
Download all dependencies (specify Python 3.12, manylinux2014_x86_64 platform, binary-only):
pip download --python-version 312 --platform manylinux2014_x86_64 --only-binary :all: ray[default]==2.40.0# 临时加镜像执行下载 pip download \ --index-url https://pypi.tuna.tsinghua.edu.cn/simple \ --retries 10 \ --timeout 120 \ --python-version 312 \ --platform manylinux2014_x86_64 \ --only-binary :all: \ ray[default]==2.56.0 -
Offline install:
pip install --no-index --find-links=./ray_offline_pkgs ray[default]==2.40.0
本文来自博客园,作者:Theseus‘Ship,转载请注明原文链接:https://www.cnblogs.com/yongchao/p/20489556

浙公网安备 33010602011771号