Now, I am getting

CMake Error: The current CMakeCache.txt directory /tmp/pip-trgmgbq3-build/build/CMakeCache.txt is different than the directory /nethome/rxs1576/pytorch/build where CMackeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt

And Extra information - CMake is already installed in the server but I haven’t loaded it for my work.