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/02/29 09:25] – katrin | doku:python [2024/03/19 14:24] – katrin | ||
---|---|---|---|
Line 38: | Line 38: | ||
# 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 ~/ | ||
- | # note: make sure to use "conda >env< create" | + | # note: |
- | (base) $ conda env create | + | # - make sure to use "conda >env< create" |
+ | # - the name is taken from the yaml file; a custom name can be specified with "-n my-custom-name" | ||
+ | (base) $ conda env create --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 |