Installing Python 2 on Code Ocean

Start from a python 3 environment and install python version 2

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 on Code Ocean is:

  • Start a capsule with a Python 3 Starter Environment (with or without GPU, depending on your needs)

  • add python2 to apt-get

Last updated