@Surag P edit the xschemrc file, find the line at the bottom:
set SKYWATER_MODELS ....
and set the correct path. Replace ~ with /home/user, just to eliminate any ambiguity.
Next verify if in your skywater-pdk installation the above mentioned file exists.
the skywater-pdk spice models need to be patched , it is explained in the
video at 14'40". If you have problems looking at the video there is a
version.