You can create an environment for your Renku session based on a environment file in a code repository.
This guide will walk you through what kinds of files you can use to define environments in RenkuLab, and how to create a code-based environment for your project.
RenkuLab’s code-based environments currently supports creating Python environments. Support for more languages is coming soon!
<aside> <img src="/icons/info-alternate_blue.svg" alt="/icons/info-alternate_blue.svg" width="40px" />
Do you need to install R packages in your Renku session? See R.
</aside>
There are multiple ways you can define a python environment for your Renku session:
See below for more details on how to use each of these systems.
<aside> <img src="/icons/thought-dialogue_blue.svg" alt="/icons/thought-dialogue_blue.svg" width="40px" />
If you’d like to learn more about the system Renku uses to create python environments, check out https://paketo.io/docs/howto/python/#use-a-package-manager.
</aside>
environment.yml
) (recommended)Include an environment.yml
file located at the root (top level) of the code repository.
environment.yml
:Important usage notes:
nodefaults
must be included. See example above.conda-forge
channel or other non-anaconda channels.defaults
channel is not recommended and often results in failed builds (due to rate limits imposed by Anaconda).