How to install Ray with conda

Hi,

I’m a Metaflow (GitHub - Netflix/metaflow: Build and manage real-life data science projects with ease!) user and Metaflow uses conda as dependency management tool. I tried to install ray-tune with conda conda search ray-tune but conda couldn’t find ray-tune

Loading channels: done
No match found for: ray-tune. Search: *ray-tune*

PackagesNotFoundError: The following packages are not available from current channels:

  - ray-tune

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://conda.anaconda.org/anaconda/osx-64
  - https://conda.anaconda.org/anaconda/noarch
  - https://conda.anaconda.org/pytorch/osx-64
  - https://conda.anaconda.org/pytorch/noarch
  - https://repo.anaconda.com/pkgs/main/osx-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

But it seems that ray-tune is actually available on conda: Files :: Anaconda.org

Can I get some help? Thanks

Ah good question. We are definitely working on better Conda support. At this moment we are behind on releasing Ray Conda packages – I think <= 1.6 is available (cc @rliaw to keep me corrected)

Thanks for the feedback. I think it’s particularly related to macOS builds.

You should be able to do conda install -c conda-forge ray-tune?

On windows, with python 3.9 conda install -c conda-forge ray-rllib does not work or have I missed something? Thanks :slight_smile: