Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added a conda_load_cmd, to be used for loading environments (#1) #10

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

kelbling
Copy link
Contributor

On some occasions conda environments need to be loaded using source activate <path_to_conda_env> instead of conda activate <path_to_conda_env>. E.g.: conda/conda#8536
The issue is old and might be solved in most cases but still appears.
This can now be solved by setting the conda_load_cmd in the corresponding enviornment settings, e.g.:

environments:
  example_env:
    type: conda
    packages: [some_package]
    depends: [conda]
    conda_activate_cmd: source

@FussyDuck
Copy link

FussyDuck commented May 16, 2024

CLA assistant check
All committers have signed the CLA.

@corentincarton corentincarton merged commit 04d5529 into ecmwf:develop Jul 12, 2024
4 checks passed
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.

3 participants