Ubuntu 如何在Google Colab中安装Anaconda

Ubuntu 如何在Google Colab中安装Anaconda,ubuntu,anaconda,conda,google-colaboratory,miniconda,Ubuntu,Anaconda,Conda,Google Colaboratory,Miniconda,Anaconda没有预装在Google Colab上,但我想用它来安装和管理软件包。如何安装它?在代码单元中运行以下命令: # Install conda and add channels to look for packages in import sys ! wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh ! chmod +x Anaconda3-2020.02-Linux-x86_64.sh

Anaconda没有预装在Google Colab上,但我想用它来安装和管理软件包。如何安装它?

在代码单元中运行以下命令:

# Install conda and add channels to look for packages in
import sys
! wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
! chmod +x Anaconda3-2020.02-Linux-x86_64.sh
! bash ./Anaconda3-2020.02-Linux-x86_64.sh -b -f -p /usr/local
sys.path.append('/usr/local/lib/python3.7/site-packages/')
! conda update -n base -c defaults conda -y
! conda config --add channels bioconda
! conda config --add channels conda-forge

在代码单元中运行以下操作:

# Install conda and add channels to look for packages in
import sys
! wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
! chmod +x Anaconda3-2020.02-Linux-x86_64.sh
! bash ./Anaconda3-2020.02-Linux-x86_64.sh -b -f -p /usr/local
sys.path.append('/usr/local/lib/python3.7/site-packages/')
! conda update -n base -c defaults conda -y
! conda config --add channels bioconda
! conda config --add channels conda-forge
重复:重复: