Skip to content
Simple requirements.txt based example
Jupyter Notebook
Branch: master
Clone or download
Pull request Compare This branch is 2 commits ahead, 21 commits behind binder-examples:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Python environment with requirements.txt


A Binder-compatible repo with a requirements.txt file.

Access this Binder at the following URL:


The requirements.txt file should list all Python libraries that your notebooks depend on, and they will be installed using:

pip install -r requirements.txt

The base Binder image contains no extra dependencies, so be as explicit as possible in defining the packages that you need. This includes specifying explict versions wherever possible.

In this example we include the library seaborn, and our notebook uses it to plot a figure.

You can’t perform that action at this time.