Python google cloud function won’t import pandas
I’m having a problem where I’m trying to deploy a google cloud function and have narrowed down the source of the problem to the import of pandas in the function. But the strange thing is that this was working for me a few days ago and then suddenly stopped working and it took quite a bit of time to narrow down and figure out exactly what was going wrong. To summarize, I have a test_fcn that is laid out below and it won’t deploy. However, if I comment out the “import pandas” line then the function deploys correctly. At this point, the function doesn’t do anything: it’s just a test vehicle to demonstrate the problem. I’m confused and would like to know how to get pandas to import properly because I need to use that library for running my real function. And, to repeat myself, the real function was running a few days ago but when I redeployed the “last successful deployment” yesterday it failed. Has anyone seen this problem or a similar problem and know what might be going on?