Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
doku:python [2023/06/19 08:37] – katrin | doku:python [2023/06/20 08:20] – [Optional: execute conda runtime hooks on login] susit8 | ||
---|---|---|---|
Line 26: | Line 26: | ||
# create your environment via environment file | # create your environment via environment file | ||
- | (base) $ conda create -n my-env --file my_env.yaml | + | # this will place the environment in your ~/ |
+ | # note: make sure to use "conda >env< create" | ||
+ | (base) $ conda env create -n my-env --file my_env.yaml | ||
# after creation you can activate the environment to run code in it | # after creation you can activate the environment to run code in it | ||
Line 114: | Line 116: | ||
<code bash> | <code bash> | ||
- | conda init bash --dry-run --verbose | grep "# >>> | + | conda init bash --dry-run --verbose | grep "# >>> |
source ~/.bashrc | source ~/.bashrc | ||
</ | </ |