Hi,
I have two point layers, origination, and the destination. I want to calculate the travel distance and time between each origin and destination point. For example, here is the dataset:
Origin Destination
1 X
2 Y
3
And eventually, there will be 6 routes, 1X, 2X, 3X, 1Y, 2Y and 3Y. How should I do that in the network analysis or in ArcGIS?
The documentation on the GitHub site should explain all the tool inputs and their requirements.
It sounds like your input data is not in an ArcGIS feature class or table or whatever but rather some sort of dataframe (pandas?). For the tool to accept that as input, you have to first convert it to a feature class. You could try using XY Table To Point or manually constructing a feature class with an Insert Cursor. I can't really advise without knowing what type of data frame you're using or what's in it.
Yeah, I'm not sure what that error code means. The tool's code is not raising that error, so it means the error is probably occurring before the tool's code even starts running.
Where are you running this code? From a standalone Python script? From a notebook within Pro? From a notebook somewhere else?
Did you import the toolbox using arcpy.ImportToolbox() or arcpy.AddToolbox()?