Problem installing unity editor "Not enough space"

I have a problem trying to install a unity editor.

It always says I don’t have enough space, however I by far have enough space.
I’m trying to install it on my D disk with about 500G of space left and my main C disk has 30G left (should be enough for a temp folder).

Everywhere I look people say it’s because there isn’t enough space for the temp folder but I don’t think that’s the problem in my case.

Hello friend this type of errors sometime occurs due to low network speed or due to windows version.