Slicer version 5.1.0, revision 30927, built 2022-05-09, MacOS
I tried to follow an example for loading dicoms form the Script repository — 3D Slicer documentation, however
slicer.modules.DICOMWidget.browserWidget.dicomBrowser
does not work, it throws only the following error:
AttributeError: module ‘modules’ has no attribute ‘DICOMWidget’