Error: Could not find a version that satisfies the requirement tensorflow 2, =1.15.*
Issue:
While working on google cloud API platform, I was trying to run sample requirements.txt to ensure we're using same version of Tensor Flow as sample
Source code:
- https://github.com/GoogleCloudPlatform/cloudml-samples/archive/master.zip
I got multiple errors
- First error was
- That cloudml-samples-master does not exists in "~/cloudml-samples-master/census/requirements.txt"
- So i have used "cloudml-samples-main" to fix it
- Second error: Tensor Flow version issue
- ERROR: Could not find a version that satisfies the requirement tensorflow<2,>=1.15.*
- ERROR: No matching distribution found for tensorflow<2,>=1.15.*
Solution:
- Open requirement.txt using VI editor
- Change 2 to 3 as current version of tensor flow is 2.11
Now code is working fine
No comments:
Write commentsPlease do not enter spam links