When installing torchaudio , I met error "compiler (c++) may be ABI-incompatible with PyTorch"

it shows :::

Your compiler (c++) may be ABI-incompatible with PyTorch! Please use a compiler that is ABI-compatible with GCC 4.9 and above.

however, I have updated my GCC version ,and it’s already satisfied .

Hi,

How did you installed pytorch?
This test is designed to find if the compiler used to build the binaries is compatible with the compiler you use for your extensions.
Compiling pytorch from source will solve the problem for sure. Otherwise @smth should be able to tell you which compiler was used to build the package (depending on how you installed pytorch).