I've just installed Ubuntu 22.04, and I'm struggling installing gcc-7. I've already tried with sudo apt install gcc-7
but it says there is no installation candidate. I tried to find a PPA for this version but apparently there is none yet.
The reason I need this specific version of gcc is that, according to https://www.tensorflow.org/install/source?hl=es-419#gpu , tensorflow-2.6.0 needs GCC 7.3.1 to be compiled (actually I'm not able to even install CUDA 11.2, the following error appears: Failed to verify gcc version. See log at /var/log/cuda-installer.log for details.).
Any help that you can give in this matter would be much appreciated.
sudo apt install nvidia-cuda-toolkit-gcc
and then installing CuDNN with the .deb, but after trying to install tensorflow in a conda environment viapip tensorflow
I get: Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform. – Othon Gonzalez May 09 '22 at 20:16