Specifying a conda environment with environment.yml
Go to file
Chris Holdgraf 5833169cb8
Merge pull request #4 from emigre459/master
OS-specific packages correction to README
2019-03-02 14:00:55 -08:00
environment.yml Update environment.yml 2018-12-11 15:00:35 +01:00
index.ipynb updating to new syntax 2017-07-27 15:13:33 -07:00
README.md Update README.md 2019-03-02 14:32:37 -05:00

Conda environment with environment.yml

Binder

A Binder-compatible repo with an environment.yml file.

Access this Binder at the following URL:

http://beta.mybinder.org/v2/gh/binder-examples/conda_environment/v1.0?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:

source activate example-environment
conda env export --no-builds -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 conda will possibly try to include OS-specific packages in environment.yml, so you may have to manually prune environment.yml to get rid of these packages. Confirmed Mac-OSX-specific packages that should be removed are:

  • libcxxabi=4.0.1
  • appnope=0.1.0
  • libgfortran=3.0.1
  • libcxx=4.0.1