We need to import Tensorflow 2.1 into an App Engine Flask app to do some 
data wrangling prior to sending requests for inference to Cloud AI 
Platform. Unfortunately we get this error when trying to build:


Could not find a version that satisfies the requirement tensorflow==2.1.0 (from 
-r requirements.txt (line 16)) (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 
1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 2.0.0a0, 2.0.0b0, 2.0.0b1)


The pip in App Engine Flex images was updated to v20 today, but I don't 
believe pip was updated in the Docker container used by Cloud Build to 
handle App Engine deployment.  I believe this is the path to that builder: 
gcr.io/cloud-builders/docker@sha256:461bb53c226048a2f5eabebe1d8b4367a02d3a484a8cc7455a21377702bbf4f6

I suspect the ultimate cause of the error is that Tensorflow stopped 
publishing manylinux1 wheels after the 2.0.0.b1 release. Regardless, App 
Engine / Cloud Build should use a recent version of pip when building 
images.





-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/5533fd9f-27b6-4466-b5b5-8cedbc4d1883o%40googlegroups.com.

Reply via email to