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:41] – katrin | doku:python [2023/06/20 08:20] – [Optional: execute conda runtime hooks on login] susit8 | ||
---|---|---|---|
Line 27: | Line 27: | ||
# create your environment via environment file | # create your environment via environment file | ||
# this will place the environment in your ~/ | # this will place the environment in your ~/ | ||
- | (base) $ conda create -n my-env --file my_env.yaml | + | # 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 115: | Line 116: | ||
<code bash> | <code bash> | ||
- | conda init bash --dry-run --verbose | grep "# >>> | + | conda init bash --dry-run --verbose | grep "# >>> |
source ~/.bashrc | source ~/.bashrc | ||
</ | </ |