Pytorch 1.0 can't find cuda 10 in windows

I was trying to update my pytorch using cuda 9.2 to 10 but it didnt work. The pytorch couldn’t find cuda.

I’ve deleted the previous version and when I checked my system variables, all the path are perfectly directed to cuda 10.0.