Hi there we've just migrated from ArcGIS desktop to ArcGIS Pro and there is an issue when trying to use concurrently arcpy.na.MakeVehicleRoutingProblemAnalysisLayer. When using arcpy we get the following error ERROR 160706: Cannot acquire a lock.Failed to execute (MakeVehicleRoutingProblemAnalysisLayer).
With ArcGIS desktop everything worked fine.
We tried changing env.workspace = "in_memory" to env.workspace = "memory" but it doesnt work. It appears that arcpy.na.MakeVehicleRoutingProblemAnalysisLayer is locked from the first call.
Our overall impression is that network analyst extension is not well supported in ArcGIS Pro.
Any ideas?