Hi Glenn,
I believe I am having a similar issue. I have a cloud_functions.py file with functions in it for download/uploading data to Google Cloud. This works well and is used through my website.
However, I have another auto_updater.py file in the same folder with the others which I am trying to set as a task to run daily. This auto_updater.py file uses functions from cloud_functions.py. However I am getting errors that when the task auto_updater.py is running that the cloud_functions.py script is then unable to import modules which it normally has no problems with during normal use on the website.
Is this because files running as tasks are not in the normal virtualenv? I can confirm that the task, the website, and all modules are using the same python version.
Thank you for your help Glenn