Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
doku:python [2024/07/08 11:11] – [Quickstart: Using Python with Conda] grokyta | doku:python [2024/09/18 11:14] – katrin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Python | + | ====== Python |
- | Previously we recommended using spack python packages, however we decided to deprecate this approach since it is much easier and user friendly to use ''' | + | Previously we recommended using spack python packages, however we decided to **deprecate** this approach since it is much easier and user friendly to use ''' |
Have a look at the new **quickstart guide** below or the material from the python4hpc training: [[https:// | Have a look at the new **quickstart guide** below or the material from the python4hpc training: [[https:// | ||
Line 20: | Line 20: | ||
channels: | channels: | ||
- conda-forge | - conda-forge | ||
- | - defaults | ||
dependencies: | dependencies: | ||
- python=3.10 | - python=3.10 | ||
Line 96: | Line 95: | ||
- pytorch | - pytorch | ||
- conda-forge | - conda-forge | ||
- | - defaults | ||
dependencies: | dependencies: | ||
- python=3.12 | - python=3.12 | ||
Line 167: | Line 165: | ||
==== Channels ==== | ==== Channels ==== | ||
- | The '' | + | The '' |
Popular channels | Popular channels | ||
Line 177: | Line 175: | ||
If you want to set e.g. '' | If you want to set e.g. '' | ||
<code bash> | <code bash> | ||
+ | conda config –remove channels defaults | ||
conda config --add channels conda-forge | conda config --add channels conda-forge | ||
</ | </ |