-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Hi ,
I am trying to run my code over cloud-function which has a dependency of pandas in it.But after deploying the function and triggering it,facing the following error:
ImportError: C extension: No module named timedeltas not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first. Failed to execute script main
I am using
Python version 2.7
Pandas Version 0.22.0
and running below cmd:
sudo py-cloud-fn test-flask-bigquery1 http --python_version 2.7 -p -f main.py && cd cloudfn/target && gcloud beta functions deploy test-flask-bigquery1 --trigger-http --stage-bucket <bucketname> --memory 2048MB && cd ../..
Please provide the solution for this.
ACPK
Metadata
Metadata
Assignees
Labels
No labels