Name: python2_runtime
Owner: Binder Examples
Description: Demonstrating how to activate a python 2 environment with `runtime.txt`
Created: 2017-10-23 19:57:14.0
Updated: 2018-04-07 17:14:58.0
Pushed: 2018-04-07 17:14:57.0
Homepage: null
Size: 4
Language: Jupyter Notebook
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
runtime.txt
We can specify various runtime parameters with a runtime.txt
file. In this
repository, we demonstrate how to install python 2 with the environment.
If you specify python-2.7
in runtime.txt
, then:
requirements.txt
are installed into the python2 environmentimportant: Make sure that you save your notebooks with a python 2 kernel activated, as this defines which kernel Binder will use when a notebook is opened.
note:
If you also wish to install python 3 dependencies, you may do so
by including a file called requirements3.txt
. The packages
inside will be installed into the python 3 environment.