Why does installing SkyPilot with pip download multiple versions of Ray?
I'm trying to install SkyPilot using pip, but it seems to be downloading multiple versions of Ray, which is slowing down the installation process. The requirement for Ray is specified as ray[default]!=2.6.0,<=2.6.3,>=2.2.0
. Is there a way to streamline the installation to avoid downloading multiple versions, or is there a reason for this behavior?
Ping Zhang
Asked on Jan 22, 2024
The requirement ray[default]!=2.6.0,<=2.6.3,>=2.2.0
should only download one version of Ray. However, pip might look at multiple versions to determine compatibility with other requirements, which can take a while. To resolve this, you can try using a conda environment instead of venv or running SkyPilot in Docker. In my case, retrying the installation with pip install "skypilot-nightly[kubernetes]"
in a venv eventually succeeded, and only one version of Ray was installed.