After installing NVIDIA drivers I can not find the files libnvcuvid.so or libnvidia-encode.so. What should I do?

Install NVIDIA drivers from the official archive:

wget http://us.download.nvidia.com/XFree86/Linux-x86_64/440.64/NVIDIA-Linux-x86_64-440.64.run
chmod +x NVIDIA-Linux-x86_64-440.64.run
sudo ./NVIDIA-Linux-x86_64-440.64.run

or use images with the drivers installed: Ubuntu 16.04.6 or Ubuntu 18.04.4 with CUDA.

Updated Date 28.04.2020