sbi
sbi copied to clipboard
Consider adding binder
Consider adding binder for trying out sbi easily. I've create one for my fork of sbi. I had to remove the environment.yml, because binder hat trouble creating the docker (ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: /home/jovyan).
E.g. open a tutorial notebook from https://mybinder.org/v2/gh/schmitts/sbi/HEAD.
Thanks for the suggestion! Adding binder and/or colab support would be great.
In principle, repo2docker (which binder uses) should support environment.yml, see https://github.com/jupyterhub/binder/blob/master/doc/config_files.rst#environmentyml---install-a-conda-environment.
From the error message you report, the following line in our environment.yml might be problematic: https://github.com/mackelab/sbi/blob/main/environment.yml#L31: It installs sbi in editable mode for local dev as described in our wiki here: https://www.mackelab.org/sbi/contribute/#development-environment. I think it would be best to find a workaround in which we can keep the default name for our environment file, and ideally still install in editable mode. Any help would be appreciated!