AnsweredAssumed Answered

Error: module 'arcpy' has no attribute 'pt' when creating the utility network in stand-alone python script

Question asked by samisnunu on May 19, 2019
Latest reply on Aug 26, 2019 by vwangesriaustralia-com-au-esridist

In the documentation:

http://solutions.arcgis.com/utilities/help/utility-network-automation/tool-reference/stage-utility-network.htm

 

 

.# Create the new utility network

arcpy.pt.StageUtilityNetwork(sde, service_territory, dataset, network_name)

I'm running  stand-alone script, and got the error message"

in <module>
arcpy.pt.StageUtilityNetwork(
AttributeError: module 'arcpy' has no attribute 'pt'

 

Not sure why this is happening..

Outcomes