Check out the updated example of this script here. Run it in Google Colab here.
Important Notice: Google Colab currently uses an environment with packages that have not been updated in a while. There is a chance they have to be uninstalled before gpCAM can be installed.