Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Upgrade 2.7 notebook to 3.5

Newbie here. I cloned a 2.7 notebook and like to run in 3.5. The upper right corner only has 2.7 gray out. How can I upgrade to 3.5?

1 response

The Python 3.5 kernel can be selected by clicking on 'Run -> Change kernel -> Python 3.5' menu in a notebook. This is a dropdown menu in the upper right corner of a notebook. The 'Change kernel' menu is the very last item under the 'Run' menu. Clicking that will select Python 3.5. Once that kernel is loaded the notebook can be run. There may be some cells which fail because of differences between 2.7 and 3.5 but generally that's minimal.

Good luck.