Skip to content

conda-incubator/condacolab

Repository files navigation

condacolab

Install Conda and friends on Google Colab, easily.

CondaColab

⚠️ Note: This README refers to the development version of condacolab. If you are looking for the stable version, please check the 0.1.x branch.

Basic usage

On your Colab notebook, run the following code as the first executable cell:

!pip install -q "https://github.com/conda-incubator/condacolab/archive/main.zip"
import condacolab
condacolab.install()

After the kernel restart, you can optionally add a new cell to check that everything is in place:

import condacolab
condacolab.check()

It is important that you perform the installation first thing in the notebook because it will require a kernel restart, thus resetting the variables set up to that point.