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

Updated docs to address issue with conda install failing #290

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

ben-l-p
Copy link
Collaborator

@ben-l-p ben-l-p commented Jun 10, 2024

Some users have had an issue with Conda failing whilst creating the environment, giving the following message:

Collecting package metadata (repodata.json): - Killed

This is due to Conda running out of RAM during install, documented here. This is in line with problems found a few months ago, with 8 GB of RAM often not being sufficient. Unfortunately Conda isn't very efficient with memory, and there is little we can do about this.

I have updated the docs to include 3 options to fix this issue:

  • Increase available RAM (if running on a compute cluster etc)
  • Use Mamba, a more efficient drop-in replacement for Conda. This is what I personally use locally and find it to be vastly better — however, I can appreciate this isn't an option in some situations!
  • Create a blank conda environment and install the required packages:
    conda create --name sharpy python=3.10
    conda config –add channels conda-forge
    conda install eigen libopenblas libblas libcblas liblapack libgfortran libgcc libgfortran-ng

Thank you to the students who both found this issue and documented the third fix method!

@ben-l-p ben-l-p added the bug label Jun 10, 2024
Copy link
Collaborator

@rafapalacios rafapalacios left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the tips!

@rafapalacios rafapalacios merged commit 66b9390 into main Jun 10, 2024
3 checks passed
@rafapalacios rafapalacios deleted the fix_conda_killed branch June 10, 2024 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants