Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

[BUG] Google Cloud Platform Install failed #140

Open
alexflopez opened this issue May 30, 2022 · 4 comments
Open

[BUG] Google Cloud Platform Install failed #140

alexflopez opened this issue May 30, 2022 · 4 comments
Labels

Comments

@alexflopez
Copy link

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

  • Google Cloud Platform
@alexflopez alexflopez added the bug label May 30, 2022
@vitoriaspiti
Copy link

I am having the same issue.

@vitoriacalil
Copy link

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
Copy link
Author

alexflopez commented Jun 8, 2022

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
Copy link

#138 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants