Skip to content

Commit

Permalink
fix mamba install
Browse files Browse the repository at this point in the history
- fixes #826
  • Loading branch information
casperdcl committed Aug 9, 2023
1 parent 273e491 commit d3f7e3c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker/user_python-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ fi
# Python
case "$PYTHON" in
miniconda)
# miniconda
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh > miniconda.sh
#curl -L https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh > miniconda.sh
curl -L https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh > miniconda.sh
echo -e "\nyes\n${INSTALL_DIR}\nno" | bash miniconda.sh
rm miniconda.sh
source "$INSTALL_DIR"/bin/activate
conda config --add channels conda-forge
#conda config --add channels conda-forge
# https://github.com/conda/conda/issues/6030
#conda update -c conda-forge -y conda
conda install -c conda-forge -y mamba
mamba update -c conda-forge -y setuptools pip
# https://github.com/SyneRBI/SIRF-SuperBuild/issues/826
#conda install -c conda-forge -c defaults -y mamba
;;
*python*)
# virtualenv
Expand Down

0 comments on commit d3f7e3c

Please sign in to comment.