Skip to content

Commit

Permalink
modified zzz.r for debian2
Browse files Browse the repository at this point in the history
  • Loading branch information
Malika1109 committed Sep 2, 2024
1 parent 2ecd938 commit 9555904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ platform <- NULL
reticulate::virtualenv_create(envname = venv_path, python = python_path)
}, error = function(e) {
# Attempt to install the python3-venv package
system("sudo apt-get update && sudo apt-get install -y python3.12-venv", intern = TRUE)
system("sudo apt install python3-venv", intern = TRUE)
# Retry creating the virtual environment
reticulate::virtualenv_create(envname = venv_path, python = python_path)
})
Expand Down

0 comments on commit 9555904

Please sign in to comment.