Assigned
Status Update
Comments
jo...@google.com <jo...@google.com> #2
Thanks for opening this feature request.
I've reported this internally and is now being followed up by Cloud Function's engineering team . Though we can't provide an ETA on feature requests nor guarantee their implementation, rest assured that your feedback is always taken very seriously, as it allows us to improve our products.
Once again, thank you for the suggestions.
pt...@gmail.com <pt...@gmail.com> #3
Hi,
Even i am facing the same issue since 3 days, i have tried so many things to fix this.
The issue is with the this packages: it has a build-time dependency on numpy, but they aren't declared properly. Cloud Functions (like most runtimes) installs all your dependencies at the same time, but this kind of packages needs numpy installed before it can be installed, which isn't configurable via a simple requirements.txt file.
Source :https://stackoverflow.com/questions/58233081/python-google-cloud-function-deployment-failure-madmom-pip-package .
Things which not worked:
1. Tried local build 'pip install -t package dlib' but glibc 2.27 version issue.
2. I add line in my script 'os.system('pip install dlib') '
3. I am facing same problem in case of sklearn and skimage installations.
So i took main files in this packages and trying to use as local packages and its working on my system but it wont work on cloud functions.
Please let me know if have posted answer of this anywhere?
Thanks..!
Even i am facing the same issue since 3 days, i have tried so many things to fix this.
The issue is with the this packages: it has a build-time dependency on numpy, but they aren't declared properly. Cloud Functions (like most runtimes) installs all your dependencies at the same time, but this kind of packages needs numpy installed before it can be installed, which isn't configurable via a simple requirements.txt file.
Source :
Things which not worked:
1. Tried local build 'pip install -t package dlib' but glibc 2.27 version issue.
2. I add line in my script 'os.system('pip install dlib') '
3. I am facing same problem in case of sklearn and skimage installations.
So i took main files in this packages and trying to use as local packages and its working on my system but it wont work on cloud functions.
Please let me know if have posted answer of this anywhere?
Thanks..!
di...@gmail.com <di...@gmail.com> #4
Comment has been deleted.
di...@gmail.com <di...@gmail.com> #5
Can we go around this by using Cloud Run?
me...@gmail.com <me...@gmail.com> #6
Would love to know a work-around for this.
Description
Hello.
I need to install Dlib for my python cloud function.
However, when I deploy the cloud function I got the following error message:
The system package CMake is necessary in order to install Dlib .
Please consider forward this feature request to the product management team.
Thank you.