I have found a github repo and cloned it, created and activated a venv, and then attempted to install the requirements from the requirements.txt
In this example, pip fails, saying:
ERROR: Could not find a version that satisfies the requirement tensorflow==1.5.0 (from -r requirements.txt (line 54)) (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 1.15.0rc0, 1.15.0rc1, 1.15.0rc2, 1.15.0rc3, 1.15.0, 1.15.2, 1.15.3, 2.0.0a0, 2.0.0b0, 2.0.0b1, 2.0.0rc0, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc0, 2.1.0rc1, 2.1.0rc2, 2.1.0, 2.1.1, 2.2.0rc0, 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0)
This has happened to me in the past too, with a completely different project using the same tensorflow version.
- Why is this tf version not in the list? Did the tf authors remove versions? Where can I find it?
- How do I troubleshoot these situations in the future?
It just seems silly that the whole point in a venv and requirements.txt is to make sure I'm running the exact same packages and versions that the author has, but it trips up at the first hurdle.