
We install the Miniconda distribution on top of the existing one at /usr/local, add a few configuration files so we stay with Python 3.8 ( conda auto updates by default) and the newly installed packages are available.

If you want to build your own constructor-based installer, check the FAQ below! It expects a URL pointing to a constructor-like installer, so you can prebuild a Python 3.8 distribution that fulfills your own needs. The Mambaforge distribution is officially provided by conda-forge but I forked and patched it so it's built for Python 3.8.įor advanced users, install_from_url() is also available.



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. install ()Īfter the kernel restart, you can optionally add a new cell to check that everything is in place: import condacolab condacolab. On your Colab notebook, run the following code as the first executable cell: ! pip install - q condacolab import condacolab condacolab. Install Conda and friends on Google Colab, easily.
