I've done this lab on a previous round and completed it successfully (it's a requirement for the "Cloud functions - 3 ways skill badge" after all)
So I thought it would be fine doing a refresher on it. But Task 5 "Deploying different revisions" isn't working.
1) First, tells me it's missing 'requirements.txt' when deploying- I don't recall requiring this previously. Fine, I create a requirements.txt with the command pip freeze > requirements.txt
2) Then the deploy can initiate. However it then fails with a "ERROR - No matching distribution found for python-apt==2.2.1"
Do the instructions need to be updated or is there something I missed?
Solved! Go to Solution.
Welp, got an answer from Quiklabs support that it's a known issue and they are looking into it. Nice and fast feedback
Yeah I'm also having the same problem.
Welp, got an answer from Quiklabs support that it's a known issue and they are looking into it. Nice and fast feedback
Same for me also, still not working showing the same error [requirments.text] needed and also [go.mod] needed.
is it fixed by Quiklabs
I created 2 files and could finally complete the lab in 3rd try.
cat > go.mod <<EOF
module example.com/gcf
require (
github.com/GoogleCloudPlatform/functions-framework-go v1.5.2
)
EOF
cat > requirements.txt <<EOF
functions-framework==3.*
EOF
User | Count |
---|---|
18 | |
10 | |
8 | |
3 | |
3 |