From 9f96fee03533bedc9b2b8d045ee822897d5ff626 Mon Sep 17 00:00:00 2001 From: Thomas Yu Date: Tue, 31 Oct 2023 20:12:51 -0700 Subject: [PATCH] Remove venv --- R/zzz.R | 1 - tools/installPythonClient.R | 1 - 2 files changed, 2 deletions(-) diff --git a/R/zzz.R b/R/zzz.R index 468c36b7..5d5b6695 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -17,7 +17,6 @@ reticulate::use_virtualenv('r-reticulate') reticulate::py_install(c("requests<3", "pandas~=2.0.0", "pysftp", "jinja2", "markupsafe")) # reticulate::py_install(c(paste("synapseclient==", PYTHON_CLIENT_VERSION, sep="")), pip=T) - system('virtualenv r-reticulate') system('pip3 install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple "synapseclient[pandas]"') } ) diff --git a/tools/installPythonClient.R b/tools/installPythonClient.R index 334596b3..3bae45d1 100644 --- a/tools/installPythonClient.R +++ b/tools/installPythonClient.R @@ -20,5 +20,4 @@ reticulate::use_virtualenv('r-reticulate') # reticulate::py_run_string(sprintf("sys.path.append(\"%s\")", file.path(baseDir, "inst", "python"))) reticulate::py_install(c("requests<3", "pandas~=2.0.0", "pysftp", "jinja2", "markupsafe")) #reticulate::py_install(c(paste("synapseclient==", PYTHON_CLIENT_VERSION, sep="")), pip=T) -system('virtualenv r-reticulate') system('pip3 install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple "synapseclient[pandas]"')