ModuleNotFoundError: No module named 'torch._custom_ops'; 'torch' is not a package

After I uninstalled PyTorch and Torchvision and reinstall PyTorch for Jetson and Trochvidsion 0.16.1 from source code Compile TorchVision 0.16.1, it works now.

1 Like