Conda
Specifying a conda environment with `environment.yml`
Install / Use
/learn @binder-examples/CondaREADME
Conda environment with environment.yml
A Binder-compatible repo with an environment.yml file.
Access this Binder by clicking the blue badge above or at the following URL:
http://mybinder.org/v2/gh/binder-examples/conda_environment/HEAD?filepath=index.ipynb
Notes
The environment.yml file should list all Python libraries on which your notebooks
depend, specified as though they were created using the following conda commands:
conda activate example-environment
conda env export --from-history -f environment.yml
Note that the only libraries available to you will be the ones specified in
the environment.yml, so be sure to include everything that you need!
Also note that if you skip the --from-history, conda may include OS-specific
packages in environment.yml, which you would have to manually prune from
environment.yml. For example, confirmed macOS-specific packages that should
be removed are:
- libcxxabi=4.0.1
- appnope=0.1.0
- libgfortran=3.0.1
- libcxx=4.0.1
Related Skills
next
A beautifully designed, floating Pomodoro timer that respects your workspace.
product-manager-skills
47PM skill for Claude Code, Codex, Cursor, and Windsurf: diagnose SaaS metrics, critique PRDs, plan roadmaps, run discovery, and coach PM career transitions.
devplan-mcp-server
3MCP server for generating development plans, project roadmaps, and task breakdowns for Claude Code. Turn project ideas into paint-by-numbers implementation plans.
