Looks like torch.distributed is not enabled in your env. Can you run is_available 27 to find out.
Given the path in log, it seems you are using Windows? PyTorch distributed is not available on Windows yet. Please comment here 18 if you need this feature.