Closed zaccharieramzi closed 3 years ago
Your error is pretty explicit:
Compiler /usr/bin/g++ (version 5.4.0 20160609) is not usable for this TensorFlow installation. Require g++ (version >=7.3.1 20180303, <999).
Just install g++ 7.3.1: sudo apt install g++-7 -y
When installing
nvtx-plugins
from pypi withpip install nvtx-plugins
, I have the following error:I tried with both tf 2.2 and 2.3rc0. I am using Ubuntu 16.04, and my
g++
version is 5.4, since I see it can be a problem.I see that I am supposed to "check the NVTX-Plugins Github Repository for recommended compiler versions." but I didn't find the ressource for that.
I saw that something had already been fixed in that domain (https://github.com/NVIDIA/nvtx-plugins/pull/16), but not sure if it has been released yet.
I guess I just need to install g++ 7.3, but since I am having some difficulties in doing so I wanted to know for sure. I also think maybe this should be made clear in the docs.