I have referred to the questions answered by many bloggers, but there are many problems or troubles. I recommend a better solution after I try to solve it:
The reason for this problem is that the driver may be relatively new, and the GCC version of the system kernel is inconsistent with the default GCC version of the compiler. First, GCC -v check the default GCC version of the current compiler. If it is relatively low and you have not updated the GCC version, upgrade the GCC and C + + versions: sudo apt get install gcc-9 G + ± 9 – Y
Then open the installation path to see the GCC versions: LS/usr/bin/GCC*
Generally, the GCC version has been upgraded. If there are multiple versions in this directory, set the soft connection between GCC and G + +:
CD/usr/bin
sudo ln -sf gcc-9 gcc
sudo ln -sf g+±9 g++
Finally, just update the environment:
source/etc/environment
At this time, GCC -v check the GCC version of the current compiler. If it is consistent with the version prompted by the kernel, you can install it according to the normal graphics card driver steps
Read More:
- The nvidia-smi has failed because it could’t communicate with the NVIDIA driver
- Raspberry pie upgrade to Python 3.7.3
- Error: unrecognized command line option “-std=c++11”, to solve the problem that ubuntu does not support c++11
- Use NVIDIA to solve NVIDIA’s
- Error reporting using NVIDIA SMI
- Failed to initialize nvml driver / library version mismatch due to automatic update of NVIDIA driver
- [Solved] NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.
- Solution of error reporting in PIP installation of iPhone
- /sbin/mount.vboxsf: mounting failed with the error: No such device
- Nvidia-smi has failed because it could’t communicate with the NVIDIA driver
- How to Fix NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.
- insmod: init_module ‘hello.ko’ failed (Exec format error)
- Incomplete and “the Jupiter” distribution was not found
- VirtualBox installation enhancement error “modprobe vboxguest failed”
- “Failed to load session” Ubuntu “problem solving summary
- NVIDIA NVML Driver/library version mismatch
- Installing GCC reduced version GCC 4.4.6 under Linux
- Solution to x service error when installing NVIDIA graphics driver under Ubuntu
- Linux error deletion libc.so.6 how to recover
- Linux has no way to solve bash. / that file or directory