Anaconda & Conda in Deepnote

Deepnote's default environment is pip-based, but you can layer Conda on top for packages that need it (think GDAL, OpenCV with custom CUDA, or anything with C++ deps that fights pip).

Common gotchas

  • Use Miniconda over Anaconda for the base install — Anaconda's full distribution ships too many packages and exceeds Deepnote's default disk quota.
  • Persist activation across cells by writing the conda init lines into the project's environment-init script, not just running them once in a cell.
  • Don't mix pip install and conda install for the same package — pin to one or the other to avoid kernel state drift between collaborators.