Skip to content

Commit

Permalink
Fix for multiple python.exe detected when setting `rosettaPTF.arcpy_p…
Browse files Browse the repository at this point in the history
…ath`
  • Loading branch information
brownag committed Nov 21, 2023
1 parent 5c9d664 commit 1ef6422
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/find_python.R
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ find_python <- function(envname = NULL,
options(rosettaPTF.python_path = PYEXE_PATH)
options(rosettaPTF.arcpy_path = arcpy_path)

subres
}, silent = TRUE)
subres[grep("envs/arcgispro-py3", subres, fixed = TRUE)]
}, silent = FALSE)

# User can/should use regular reticulate methods for this

Expand Down

0 comments on commit 1ef6422

Please sign in to comment.