RPyGeo
RPyGeo copied to clipboard
Syntax error when defining path
I am trying to set up the environment on my machine using the 'rpygeo_build_env' line but am getting an error. Any idea how I can get around this?
This is the line I am using to set up the environment
arcpy <- rpygeo_build_env(workspace = tempdir(),overwrite = TRUE, extensions="Spatial",path="C:/ArcGIS/Pro/bin/Python/envs/arcgispro-py3/")
And this is the error that comes up -
Error in py_run_string_impl(code, local, convert) : SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape (<string>, line 1)
I have tried variations of the path with \
and /
or double \\
to no avail.