Skip to content

Instantly share code, notes, and snippets.

@mfansler
Forked from dataprofessor/conda.txt
Last active April 25, 2024 13:53
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mfansler/e1c29a70f064af0f52171ca8ae90d1a6 to your computer and use it in GitHub Desktop.
Save mfansler/e1c29a70f064af0f52171ca8ae90d1a6 to your computer and use it in GitHub Desktop.
Installing mamba on Google Colab
#################################################################################
# INSTALL MAMBA ON GOOGLE COLAB
#################################################################################
! wget -O miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-py37_4.10.3-Linux-x86_64.sh
! chmod +x miniconda.sh
! bash ./miniconda.sh -b -f -p /usr/local
! rm miniconda.sh
! conda config --add channels conda-forge
! conda install -y mamba
! mamba update -qy --all
! mamba clean -qafy
import sys
sys.path.append('/usr/local/lib/python3.7/site-packages/')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment