Hopefully someone can help me. I've tried so many options. I purchased a used MacBook Pro, late 2011 model. The person I purchased it from said he wiped the hard drive, but when I got home, it seems he did that, however his login was still there.
So I did a disk utility, wiped the hard drive which checked out fine, got to the reinstall Yosemite page, but there is no hard drive icon, only the install Yosemite page. When I click continue I get this error, "An error occurred while preparing the installation. Try running this application again."
Images below are in order of error