mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
257bbaf127
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
814 B
814 B
conda create
Create new conda environments. More information: https://docs.conda.io/projects/conda/en/latest/commands/create.html.
- Create a new environment named
py39, install Python 3.9, NumPy v1.11 or above in it, and the latest stable version of SciPy. Say yes to all confirmations:
conda create {{[-y|--yes]}} {{[-n|--name]}} py39 python=3.9 "numpy>=1.11" scipy
- Create a new environment named
myenvand install packages listed in files:
conda create {{[-n|--name]}} myenv --file {{file1.yml}} --file {{file2.yml}}
- Create a new environment at a custom path (i.e. prefix):
conda create {{[-p|--prefix]}} {{path/to/myenv}}
- Make exact copy of an environment named
py39:
conda create --clone py39 {{[-n|--name]}} {{py39-copy}}
- Display help:
conda create {{[-h|--help]}}