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:
Start a capsule with a Python 3 base environment with Conda (with or without GPU, depending on your needs);
add
python
as a conda dependency;set the version to
2.7.15
.
python==2.7.15
will allow you to run Jupyter and JupyterLab Cloud Workstations.
This is also the recommended way to run Python 2.7 with TensorFlow.