conda_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
conda_notes [2023/07/28 22:31] – [tasks] raju | conda_notes [2024/04/07 02:01] – [environment file to install from a specific git branch] raju | ||
---|---|---|---|
Line 38: | Line 38: | ||
==== update conda ==== | ==== update conda ==== | ||
+ | < | ||
+ | conda update -n base -c defaults conda --repodata-fn=repodata.json | ||
+ | </ | ||
+ | |||
< | < | ||
conda update -n < | conda update -n < | ||
Line 221: | Line 225: | ||
* conda config - https:// | * conda config - https:// | ||
* pinning packages - https:// | * pinning packages - https:// | ||
+ | |||
+ | ==== which solver am I using? ==== | ||
+ | Use | ||
+ | < | ||
+ | conda config --show solver | ||
+ | </ | ||
+ | or | ||
+ | < | ||
+ | conda config --show-sources | ||
+ | </ | ||
+ | |||
+ | |||
+ | Sample output: | ||
+ | < | ||
+ | $ conda config --show solver | ||
+ | solver: classic | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | $ conda config --show solver | ||
+ | solver: libmamba | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | $conda config --show-sources | ||
+ | ==> C: | ||
+ | solver: libmamba | ||
+ | |||
+ | ==> cmd_line <== | ||
+ | debug: False | ||
+ | json: False | ||
+ | </ | ||
+ | |||
+ | See also:- | ||
+ | * https:// | ||
+ | |||
+ | ==== when was a conda environment created? ==== | ||
+ | < | ||
+ | conda env list | grep -v ' | ||
+ | </ | ||
+ | |||
+ | For example | ||
+ | < | ||
+ | % conda env list | grep -v ' | ||
+ | drwxr-xr-x 10 rajulocal rajulocal 4096 Apr 4 2020 / | ||
+ | drwxr-xr-x 23 rajulocal rajulocal 4096 Nov 8 2021 / | ||
+ | drwxr-xr-x 13 rajulocal rajulocal 4096 Jun 6 2022 / | ||
+ | drwxr-xr-x 27 rajulocal rajulocal 4096 Feb 28 2023 / | ||
+ | drwxr-xr-x 13 rajulocal rajulocal 4096 May 20 2023 / | ||
+ | drwxr-xr-x 18 rajulocal rajulocal 4096 Jun 30 00:45 / | ||
+ | drwxr-xr-x 27 rajulocal rajulocal 4096 Jul 11 01:07 / | ||
+ | drwxr-xr-x 24 rajulocal rajulocal 4096 Nov 12 04:44 / | ||
+ | </ | ||
+ | |||
+ | Ref: https:// | ||
===== activate conda environment ===== | ===== activate conda environment ===== | ||
Line 325: | Line 384: | ||
tags | < | tags | < | ||
+ | |||
+ | ==== specify package version with " | ||
+ | < | ||
+ | name: test_chessli | ||
+ | channels: | ||
+ | - defaults | ||
+ | dependencies: | ||
+ | - python=3.11 | ||
+ | - pandas=1.5.3 | ||
+ | - pip | ||
+ | - pip: | ||
+ | - chessli | ||
+ | - git+https:// | ||
+ | </ | ||
+ | |||
+ | Ref:- | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | tags | pip " | ||
===== dummy ===== | ===== dummy ===== |
conda_notes.txt · Last modified: 2024/04/07 02:02 by raju