Installation Issue with Micromamba/Miniconda

How severe does this issue affect your experience of using Ray?

  • High: It blocks me to complete my task.

I am trying to install ray-default, ray-train, and ray-tune in a micromamba envrionment. I am able to install other packages (e.g., numpy, pandas, etc.) in this environment. When I try to install ray-default using the following command:

micromamba install "ray-default" -c conda-forge

I get the following error:

warning libmamba Invalid package cache, file ‘C:\Users\hseely\micromamba\pkgs\ray-core-2.40.0-py39h702a4a0_1\Lib\site-packages\ray\core\src\ray\gcs\gcs_server.exe’ is missing
error libmamba Cannot find a valid extracted directory cache for ‘ray-core-2.40.0-py39h702a4a0_1.conda’
critical libmamba Package cache error.

I have tried creating new environments, installing different versions of ray, and cleaning the micromamba cache. I have a feeling there is another ray folder outside of micromamba directory on my C drive that is causing issues, but I am not sure where. Any advice on how to resolve this, or should I completely re-install micromamba?

Thanks,

Harry

Update: Re-install of micromamba did not resolve the issue

Update: After trying to install with miniconda, it appears that the issue lies with a corrupt directory for ray stored in a different location.

Trying to install with miniconda:

conda install -c conda-forge "ray-default" "ray-train" "ray-tune" --yes

…and the error message:

Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: failed

CondaVerificationError: The package for ray-core located at C:\Users\hseely\AppData\Local\miniconda3\pkgs\ray-core-2.401
appears to be corrupted. The path 'Lib/site-packages/ray/core/src/ray/gcs/gcs_server.exe'
specified in the package manifest cannot be found.

ClobberError: This transaction has incompatible packages due to a shared path.
  packages: conda-forge/win-64::opencensus-context-0.1.3-py39hcbf5309_3, conda-forge/noarch::opencensus-0.11.3-pyhd8ed11
  path: 'lib/site-packages/opencensus/__init__.py'


ClobberError: This transaction has incompatible packages due to a shared path.
  packages: conda-forge/win-64::opencensus-context-0.1.3-py39hcbf5309_3, conda-forge/noarch::opencensus-0.11.3-pyhd8ed11
  path: 'lib/site-packages/opencensus/__pycache__/__init__.cpython-39.pyc'


ClobberError: This transaction has incompatible packages due to a shared path.
  packages: conda-forge/win-64::opencensus-context-0.1.3-py39hcbf5309_3, conda-forge/noarch::opencensus-0.11.3-pyhd8ed11
  path: 'lib/site-packages/opencensus/common/__init__.py'


ClobberError: This transaction has incompatible packages due to a shared path.
  packages: conda-forge/win-64::opencensus-context-0.1.3-py39hcbf5309_3, conda-forge/noarch::opencensus-0.11.3-pyhd8ed11
  path: 'lib/site-packages/opencensus/common/__pycache__/__init__.cpython-39.pyc'

Perhaps the only solution is to nuke all conda-related installations… bummer.

@Harry_Seely

did you solve the issue by nuking all conda-related installations?