I am trying to run the Watershed Delineation tool in a Notebook cell within ArcGISPro 3.3. The tool runs fine from the Geoprocessing pane but if I copy the Python script to a Notebook cell it fails with the error: '
module 'arcpy' has no attribute 'archydropro'
I tried to import watersheddelineation. This appears to run but doesn't help. I tried to import arcyhydro and archydropro and both failed.