Closed timothytsai closed 1 month ago
Resolved, make sure your .Rprofile doesn't specify a RETICULATE_PYTHON
path.
Thanks @timothytsai for filing this ticket. Sage had an all site week off this week, but we filed an internal ticket to update the documentation in the future. Glad it worked!
Operating system
Ubuntu 22.04.4 LTS
Description of the problem
When trying to install synapser in Posit Workbench RStudio environment via
> install.packages("synapser", repos = c("http://ran.synapse.org", "http://cran.fhcrc.org"))
with reticulate virtualenv configured (Python 3.11.5), I am getting an errorError: ModuleNotFoundError: No module named 'synapseclient'
.Tried configuring the interpreter via the Workbench project/global options per https://docs.google.com/document/d/1-JbgCQxJFNVS7Brs8cFoJwE6o9wtRY2EvRVIzwg5bwA/edit#heading=h.hxbekpfx1kt9, deleting the virtual env via
rm -r
.Made sure
reticulate
is 1.28 and Python/R versions are within requirements.Expected behavior
Doing
$ ls /home/{username}/.virtualenvs/r-reticulate/lib/python3.11/site-packages/synapseclient
seems to show that synapseclient is downloaded via pip in to the virtualenv. Expect the installer to see this and proceed.Actual behavior
Output of
sessionInfo()