Skip to content

Commit

Permalink
non default channels for conda packages (#111)
Browse files Browse the repository at this point in the history
* tip on using non-default conda channel

* add a newline
  • Loading branch information
madhur-ob authored Jan 6, 2024
1 parent 9518b9e commit f18c369
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/scaling/dependencies/libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,20 @@ $ python scikitflow.py --environment=conda run
You can search all available public Conda packages at [anaconda.org](https://anaconda.org)
:::

:::tip
By default, all conda packages are searched in the default channel i.e. [conda-forge](https://conda-forge.org/feedstock-outputs/). However, some packages may exist in other channels.

To specify a custom channel for a particular package, use the following syntax: `{channel_name}::{package_name}`.

Example: The package `pytorch` exists in the `pytorch` channel. Thus, the dependency will be specified as follows:
```
@conda(
python='3.9.13',
packages={'pytorch::pytorch': '2.1.2'}
)
```
:::

## Using the same packages in all steps

Sometimes you may want to use the same set of packages in all steps. Repeating the same
Expand Down

0 comments on commit f18c369

Please sign in to comment.