Python 2.7 will not be maintained past 2020. Code Ocean has no plans to stop supporting it, however.
The recommended way to run Python 2.7 on Code Ocean is:
pythonas a conda dependency;
set the version to
This is also the recommended way to run Python 2.7 with TensorFlow.