Trying to reinstall El Capitan to my MacBook Pro 2015
I'm giving away my MacBook Pro 15" 2015 and upon trying to reinstall the software after erasing my disk it won't let me install it. It goes through an hour of downloading the software and then shortly after it gives me the message 'OS X could not be installed on your computer. No packages were eligible for install.' Ive tried using the terminal to change the date and trying again but alas, nothing has worked. My MacBook was running the most latest OS instalment when I erased everything but when I went to re-download it, it came up with El Capitan. I've been trying since yesterday and nothing is working. Someone please help, I am desperate. Its meant to be a present for my younger brother.
MacBook Pro 15", macOS 10.15