Skip to content

[BUG] <'ray-default' channel is causing issues > #10

@CodelyUnicorn

Description

@CodelyUnicorn

Describe the bug
It seems that the 'ray-default' channel is causing issues during the environment creation process. The error indicates that the package metadata for 'ray-default' is not accessible, resulting in a 404 error.

To Reproduce
Encountered issues while attempting to set up the GenomeNLP environment using Miniconda and Mamba.
Below, I have outlined the steps I followed, the errors encountered, and the attempted solutions:

Step 1: Miniconda Installation

Step 2: Mamba Installation

  • Attempted to install Mamba using the command: conda install mamba -n base -c conda-forge

Here I encountered the following error due to an inaccessible channel ray-default: HTTP 404 NOT FOUND for channel ray-default
Attempted Solution for the above error :

  • Checked the current Conda configuration channels using: conda config --show channels
  • Identified the presence of the problematic channel 'ray-default'.
  • Removed the 'ray-default' channel from the Conda configuration using the command: conda config --remove channels ray-default
  • Retried installing Mamba using the same command: conda install mamba -n base -c conda-forge

This time Mamba installation succeeded.

Step 3: Creating GenomeNLP Environment

  • Attempted to create the GenomeNLP environment using Mamba: mamba create -n genomenlp -c tyronechen -c conda-forge genomenlp -y
  • Here again I encountered a dependency issue related to the 'ray-default' channel: The error message says 'genomenlp is not installable because it requires ray-default 1.13.0, which does not exist.'

I Attempted Solution:

  • Added the 'ray-default' channel back to the Conda configuration using: conda config --append channels ray-default
  • Retried creating the GenomeNLP environment. Faced another error due to the 'ray-default' channel: Multi-download failed. Reason: Transfer finalized, status: 404 [https://conda.anaconda.org/ray-default/noarch/repodata.json]
    Error message shows as "An unexpected error has occurred. Conda has prepared the above report. If you suspect this error is being caused by a malfunctioning plugin, consider using the --no-plugins option to turn off plugins. Example: conda --no-plugins install Alternatively, you can set the CONDA_NO_PLUGINS environment variable on the command line to run the command without plugins enabled. Example: CONDA_NO_PLUGINS=true conda install "

Then again I tried manually installing 'ray-default' with the command: pip install ray-default==1.13.0
Again faced error which says:
ERROR: Could not find a version that satisfies the requirement ray-default==1.13.0 (from versions: none)
ERROR: No matching distribution found for ray-default==1.13.0

System Information
System used :

Model Name: MacBook Air
Model Identifier: Mac14,2
Chip: Apple M2
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 16 GB
System Firmware Version: 10151.41.12

Conda version: 24.3.0
Python version: 3.9.19
Mamba version: 1.5.8

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions