salesforce-marketingcloud / FuelSDK-Python

FuelSDK for python
Other
126 stars 194 forks source link

[BUG] Google Cloud Platform Install failed #140

Open alexflopez opened 2 years ago

alexflopez commented 2 years ago

Describe the bug When I try to deploy an API on Cloud Functions appears the following message error:

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] error in suds-jurko setup command: use_2to3 is invalid. [end of output]

To Reproduce Deploying an API on Cloud Functions - Google Cloud Platform

Expected behavior Deployed.

Screenshots sudserror

Environment

vitoriaspiti commented 2 years ago

I am having the same issue.

vitoriacalil commented 2 years ago

I was not able to solve it using Cloud Functions. Then I tried to deploy the same application using Cloud Run, and I had the same problem.

But on Cloud Run I was able to solve it, by declaring the following line in the Dockerfile RUN pip install 'setuptools==58.0.0'

alexflopez commented 2 years ago

I was not able to solve it using Cloud Functions. Then I tried to deploy the same application using Cloud Run, and I had the same problem.

But on Cloud Run I was able to solve it, by declaring the following line in the Dockerfile RUN pip install 'setuptools==58.0.0'

Previously I've tried to declare the same lib on requirements.txt but doesn't work. And the project unfortunatelly was restricted to use only the cloud functions.

But thanks for the possible workaround.

seahawks8 commented 1 year ago

https://github.com/salesforce-marketingcloud/FuelSDK-Python/pull/138#issuecomment-1160661581