Alright after hours of hitting my head against my laptop here is the simplified solution to it.
Step 1 Open the terminal and enter the following commands:
mkdir Temp
[Just check in the list if you have successfully created that 'Temp' folderls
Step 2 Open environment variables and replace the values of TEMP and TMP to
<C:\Temp>
and just save it and exit out.
Do check that you've added anaconda to your path until condabin
This will resolve the error Cheers