How to install the module pytorch_lightning.metrics in Raspberry pi3
I am trying to execute a python file which has pytorch with lightning and torchvision modules. But after I downloaded and successfully installed whl file of pytorch in pi3 I am getting same error again and again.
The error is
 ModuleNotFoundError: No module named 'pytorch_lightning.metrics'

Help would be highly appreciated as I am stuck for more than 3 days.
I have installed the modules using pip.

Use instead:
from torchmetrics.functional import accuracy

