Hi @ptrblck, thanks! I noticed that the first error in install.log was
/home/rakesh/software/miniconda2/envs/cu101torch16/lib/python3.6/site-packages/torch/include/c10/util/C++17.h:24:2: error: #error You need C++14 to compile PyTorch  #error You need C++14 to compile PyTorch
I changed the cxx_args in setup.py to '-std=c++14' which fixed the errors.