fastai/fastsetup

Issue w/ Install miniconda step

jstallm opened this issue · 1 comments

Steps to reproduce:

  1. Create new EC2 instance Ubuntu 20.04, C5.large.
  2. Follow all steps up to https://course.fast.ai/start_aws#step-6-setup-server
  3. Try command
    conda install -yq mamba

This step fails w/ error below
image
(base) ubuntu@www:~/fastsetup$ conda install -yq mamba Collecting package metadata (current_repodata.json): ...working... done Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve. Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve. Solving environment: ...working... Found conflicts! Looking for incompatible packages.

`Package python-libarchive-c conflicts for:
conda[version='>=4.10.3'] -> conda-package-handling[version='>=1.3.0'] -> python-libarchive-c
conda-package-handling -> python-libarchive-cThe following specifications were found to be incompatible with your system:

  • feature:/linux-64::__glibc==2.31=0
  • feature:|@/linux-64::__glibc==2.31=0
  • cffi -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
  • conda-package-handling -> libgcc-ng[version='>=7.3.0'] -> __glibc[version='>=2.17']
  • cryptography -> libgcc-ng -> __glibc[version='>=2.17']
  • libffi -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
  • libgcc-ng -> __glibc[version='>=2.17']
  • libstdcxx-ng -> __glibc[version='>=2.17']
  • mamba -> libgcc-ng[version='>=9.3.0'] -> __glibc[version='>=2.17']
  • ncurses -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
  • openssl -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
  • pycosat -> libgcc-ng[version='>=7.3.0'] -> __glibc[version='>=2.17']
  • python=3.9 -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
  • readline -> libgcc-ng[version='>=7.3.0'] -> __glibc[version='>=2.17']
  • ruamel_yaml -> libgcc-ng[version='>=7.3.0'] -> __glibc[version='>=2.17']
  • sqlite -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
  • tk -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
  • xz -> libgcc-ng[version='>=7.3.0'] -> __glibc[version='>=2.17']
  • yaml -> libgcc-ng[version='>=7.3.0'] -> __glibc[version='>=2.17']
  • zlib -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']

Your installed version is: 2.31
`

I'm a software engineer (microsoft stack) but the topic of Deep Learning is brand new to me, therefore I do not know workaround to this. Im therefore stuck at page 14 of Deep Learnign for Coders with FastAI and PyTorch. Please let me know if there is a workaround for this error. I would love to continue my learning journey. Thank you in advance.

I continue to terminate the EC2 instance and recreate, only to come arrive at the same blocker. Please let me know if you can reproduce.

Solution below allowed me to workaround

conda config --set channel_priority true