Search code examples
gcp-ai-platform-notebook

How to Run Python 3.6 on GCP AI Platform Notebook


I have a dependency for my project that requires python v3.6+. It therefore throws an error during installation via pip in a python 3 kernel, because AI Platform Notebooks ship with v3.5 by default. How can I run a GCP AI Platform Notebook with the latest version of python?


Solution

  • The answer is simpler than I thought. Since the AI notebook is a GCE instance, I simply ssh'ed into the machine, and followed the instructions here to install Python 3.7.