Select to view content in your preferred language

ArcGIS Pro on virtual machine problems find path

183
1
06-06-2025 06:20 AM
Labels (1)
TimSemmelhaack
Occasional Contributor

I've installed ArcGIS Pro 3.51 on a virtual machine Hyper V Windows 11

When I run a notebook I've a problem to access files on the host computer

Path(path_c, routes)
WindowsPath('//tsclient/C/ArcgisPro_lokal/projekte/umlauf_ivu_vrp/input_vrp/20250606_2025-07-01_amm_sued_vergabe_routes.csv')

Path(path_c, routes).exists()
True

arcpy.Exists(Path(path_c, routes))
False

In my opinion Path().exists() and arcpy.Exists() should return the same result.

Also other arcy modules can't locate the file. Any idea?

Tim

0 Kudos
1 Reply
MarcoBoeringa
MVP Alum

What happens if you make the path a raw string? So:

arcpy.Exists(r"<YOUR_PATH>")

0 Kudos