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

Confusion over installing conda packages from a yaml to an existing env #251

Closed
wildintellect opened this issue Jun 27, 2023 · 3 comments
Closed
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@wildintellect
Copy link
Collaborator

Creating a new Conda env from an env file is straight forward and well documented with https://docs.maap-project.org/en/develop/system_reference_guide/custom-environments.html#Basic-custom-environment

However https://docs.maap-project.org/en/develop/system_reference_guide/custom-environments.html#Extending-the-base-environment-in-a-given-workspace-session. Needs an additional section on how to update an existing env from a yaml defining packages. (Also remove the period on the heading)

Example:

mamba env update -n base --file above_env.yml

based on info from https://stackoverflow.com/questions/42352841/how-to-update-an-existing-conda-environment-with-a-yml-file

As reported by @pahbs in Slack on Jun 27, 2023.

@wildintellect wildintellect added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 27, 2023
@emileten
Copy link
Contributor

@wildintellect we have that already https://docs.maap-project.org/en/latest/system_reference_guide/custom-environments.html#Updating-an-existing-environment-with-a-configuration-file

However the fact that you didn't find it means something is wrong. Sounds like it should go in https://docs.maap-project.org/en/latest/system_reference_guide/custom-environments.html#Extending-the-base-environment-in-a-given-workspace-session, but I had explicitly avoided mentioning configuration files in that first section, to leave the config files related topics to the next part.

@wildintellect
Copy link
Collaborator Author

I think it's easy to miss because it's in a paragraph. We should call it out in a code block with a title or caption.

@emileten
Copy link
Contributor

addressed in #252

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants