Conda Environment Yaml Generator
Conda Environment YAML Generator helps you create a Conda environment YAML file from environment details and package specifications.
Conda Environment YAML Generator
Generated environment.yml
What Is a Conda Environment YAML Generator?
A Conda Environment YAML Generator is an online tool that creates an environment.yml file containing the configuration and dependencies of a Conda environment.
How to Use the Conda Environment YAML Generator
Enter the environment name: Provide a name for your Conda environment, such as my-project or data-science.
Select the Python version: Choose the Python version you want the environment to use.
Choose a preset: Select Custom, Data Science, Machine Learning, or Web API depending on your project.
Pin package versions: Enable Pin Versions when you want to specify exact package versions, such as numpy=1.26.
Generate YAML: Click Generate YAML to create your Conda environment configuration.
Save the YAML file: Copy the generated configuration and save it as environment.yml to use or share your Conda environment.
Conda Environment YAML Example
Input:
Environment Name: my-project
Python Version: 3.12
Version Pinning: Disable
Preset: Custom
Channels: conda-forge, defaults
Dependencies: numpy
pandas>=2.2
Output:
name: my-project
channels:
- conda-forge
- defaults
dependencies:
- python=3.12
- numpy
- pandas>=2.2