Flock1:

According to this, I have set Torch_DIR to /python3.7/site-packages/torch/share/cmake/Torch which contains TorchConfig.cmake  TorchConfigVersion.cmake .
But when I run cmake to /env/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch , I get the error:


It would look to me that the first path would put you more on the path (ha!) to success than the second. How are you invoking cmake?