I’m using PyTorch on a MacBook with an Apple M1 processor. I am using miniforge to install ARM PyTorch and ARM Tensorflow.
As far as I can tell, everything works except for Tensorboard. For instance, if I refer to the tutorial at torch.utils.tensorboard — PyTorch 1.10.1 documentation 9 I am stopped at the third line:
from torch.utils.tensorboard import SummaryWriter
raises an error:
 AttributeError: module 'setuptools._distutils' has no attribute 'version'.
These are the versions I’m using:
python                    3.9.9
tensorboard               2.6.0
pytorch                   1.10.0
tensorflow-deps           2.7.0
tensorflow-estimator      2.7.0
tensorflow-macos          2.7.0
tensorflow-metal          0.3.0

Is this a known issue? And is there a workaround?