nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Tue Mar 17 09:16:31 2020 installer version: 440.64 PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin nvidia-installer command line: ./nvidia-installer Unable to load: nvidia-installer ncurses v6 user interface Using: nvidia-installer ncurses user interface -> Detected 8 CPUs online; setting concurrency level to 8. -> Installing NVIDIA driver version 440.64. -> Running distribution scripts executing: '/usr/lib/nvidia/pre-install'... -> done. -> The distribution-provided pre-install script failed! Are you sure you want to continue? (Answer: Continue installation) -> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: No) -> Performing CC sanity check with CC="/usr/bin/cc". -> Performing CC check. -> Kernel source path: '/lib/modules/5.3.0-42-generic/build' -> Kernel output path: '/lib/modules/5.3.0-42-generic/build' -> Performing Compiler check. -> Performing Dom0 check. -> Performing Xen check. -> Performing PREEMPT_RT check. -> Performing vgpu_kvm check. -> The CC version check failed: The kernel was built with gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1), but the current compiler version is cc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0. This may lead to subtle problems; if you are not certain whether the mismatched compiler will be compatible with your kernel, you may wish to abort installation, set the CC environment variable to the name of the compiler used to compile your kernel, and restart installation. (Answer: Abort installation) ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.