I installed anaconda in C:\Program Files\Anaconda3. Every time to create a new env, I just do cmd and write:
conda create --name envname python=3.5
But how can i install a new env from the "environments.yml" file
You can create a custom conda environment from a conda compatible environment file ( environment. yaml ) using the odsc conda create command. By default, the create option also installs additional libraries to ensure that the conda environment is compatible with JupyterLab and the OCI services.
Anaconda Server enables you to upload, move, copy, share, and download an environment yaml file. An environment is a folder or directory that contains a specific collection of conda packages and their dependencies. This allows them to be maintained and run separately without interference from each other.
conda env create
allows an option --file
for an environment file:
conda env create --name envname --file=environments.yml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With