While performing Hot Spot analysis from Arcgis Pro notebook it returns AttributeError
from arcgis.features.analyze_patterns import find_hot_spots
find_hot_spots(incidents_feature_layer, output_name='Puget Sound Traffic Stops XX', gis=gis)
AttributeError: 'NoneType' object has no attribute '_tbx'
please help me with the possible solution
I haven't looked at your arcgis case above, so I can only suggest you try arcpy instead of arcgis. arcpy is native to ArcGIS Pro. Hot Spot Analysis tools are found in the Spatial Statistics toolbox.
https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-statistics/hot-spot-analysis.htm
result = arcpy.stats.HotSpots()