problems with DKMS when installing nvidia drivers

I am new to the Linux ecosystem. I can not install the nvidia drivers. I have tried to install version 415. But I am not able to understand the error due to a lack of knowledge. I have tried the following commands.

sudo add-apt-repository ppa: graphics-drivers / ppa
sudo apt update
sudo apt install nvidia-415

I have the following error (sorry, I can only post pictures.)
screenshot of the error

I also can not log in to my account and return to the login screen after entering login information. I would appreciate your opinion about it. Thank you.