I am having troubles when taking a standalone script that I have been working on to a Python Script node inside of Dynamo.
Basically what I want to do is to upload images from the Revit document to Google Drive and then linking those uploaded images to cells in a Google Sheet.
I know that there is a package called BIMOne that allows writing data from Dynamo to Google Sheets, but as I also need to upload images to Drive I need to create a custom node with extended functionality.
The runtime error occurs at the moment of importing the Google API libraries, therefore that will be the only code written for now for illustrative purposes.
I also tried using PyRevit and producing a plugin instead of a custom Dynamo node, but same luck.
PS: The first error shown in the case of PyRevit also appeared in the case of the Dynamo node at another moment.