Is Windows 10 the only partition on your hdd? If so, you need to go into disk management on 10 and shrink that partition down. Depending on how you'll use Ubuntu, go the gigs you want x 1024 for the size to shrink. You should have blank unformatted space. Then try again and let it make it's own partition