Skip to content

Fix conda env create failures on modern conda/pip#666

Open
KaningNoppasin wants to merge 1 commit intoageron:masterfrom
KaningNoppasin:master
Open

Fix conda env create failures on modern conda/pip#666
KaningNoppasin wants to merge 1 commit intoageron:masterfrom
KaningNoppasin:master

Conversation

@KaningNoppasin
Copy link
Copy Markdown

Summary

This PR fixes environment creation issues reported when running:

conda env create -f environment.yml

Changes

  • Pin pip to 23.3 in environment.yml
  • Pin wheel to 0.37 in environment.yml
  • Add troubleshooting note in INSTALL.md for conda CUDA/cache permission issues using:
    • XDG_CACHE_HOME=$PWD/.cache CONDA_OVERRIDE_CUDA=''

Root cause

  • gym==0.21.0 (installed via pip extras) fails to build with newer wheel versions because of legacy requirement metadata parsing.
  • Some conda setups also crash during CUDA virtual package detection/cache access.

Validation

  • Recreated tf2 environment successfully end-to-end with updated files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant