I am trying to deploy a Python3.7 Google Cloud Function using the "madmom" python pip package, however specifying madmom==0.16.1 in requirements.txt causes a deployment failure. When I remove madmom from requirements.txt, but leave the other pip packages, the cloud function deploys fine.
madmom pypi: https://pypi.org/project/madmom/
madmom github: https://github.com/CPJKU/madmom
I a deploying the function from Google Cloud Function's online editor: https://console.cloud.google.com/functions/add
I have deployed Python Google Cloud Functions before and this is the first time I've had issues. Any help would be very appreciated! I've been trying to find solutions online all day and haven't found anything.
Requirements.txt:
Cython==0.29.12
ffmpeg==1.4
flask==1.0.2
madmom==0.16.1
mido==1.2.9
numpy==1.16.4
scipy==1.3.0
six==1.12.0
urllib3==1.24.2
Google Cloud Function Deployment Failure:
Deployment failure:
Build failed: {"error": {"canonicalCode": "INVALID_ARGUMENT", "errorMessage": "
pip_download_wheelshad stderr output:\nCommand \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-wheel-qjxrm41i/madmom/\n\nerror:pip_download_wheelsreturned code: 1", "errorType": "InternalError", "errorId": "66F138B2"}}
I sincerely appreciate the help!