The reason why this is important is because Ubuntu 20.04 only has pip 20.0 in its repositories. When trying to install nvidia-tensorflow[horovod] with an outdated pip, it stumbles on tensorrt with the following error:
Could not find a version that satisfies the requirement tensorrt~=8.5
When trying to install tensorrt manually by downloading the .whl, it says:
tensorrt-8.5.3.1-cp38-none-manylinux_2_17_x86_64.whl is not a supported wheel on this platform
Being a linux/python newbie, I spent quite some time figuring out what went wrong, so perhaps this will save somebody's time in the future
URL(s) with the issue:
https://github.com/NVIDIA/tensorflow#readme
Description of issue (what needs changing):
Readme says in requirements: "pip 19.0 or later"
Suggested fix
pip 20.3 or later
Explanation
nvidia-tensorflow[horovod]
depends ontensorrt
tensorrt
is distributed usingManylinux_2_17
Manylinux_x_y
requirespip >= 20.3
(source: https://github.com/pypa/manylinux#readme)The reason why this is important is because Ubuntu 20.04 only has
pip 20.0
in its repositories. When trying to installnvidia-tensorflow[horovod]
with an outdated pip, it stumbles ontensorrt
with the following error:When trying to install
tensorrt
manually by downloading the .whl, it says:Being a linux/python newbie, I spent quite some time figuring out what went wrong, so perhaps this will save somebody's time in the future