Displaying 2 results from an estimated 2 matches for "mmstat4".
Did you mean:
mmstat
2024 Jul 15
2
reticulate + virtual environments
Hi,
I am using reticulate and a virtual environment (not conda) to run
Python scripts from RStudio. However, when I try to use my own
(existing) virtual environment, reticulate does not use it. If I run my
scripts, the installed modules (e.g., py_install("pandas",
"mmstat4.hu.data")) are not found. I believe this happens because
reticulate is using r-reticulate instead of mmstat4.hu.data. How can I
force reticulate to use my virtual environment?
Thanks Sigbert
> library("reticulate")
> py_config()
python: /home/sk/.virtualenvs/r-r...
2024 Jul 15
1
reticulate + virtual environments
...t; I am using reticulate and a virtual environment (not conda) to run
> Python scripts from RStudio. However, when I try to use my own
> (existing) virtual environment, reticulate does not use it. If I run my
> scripts, the installed modules (e.g., py_install("pandas",
> "mmstat4.hu.data")) are not found. I believe this happens because
> reticulate is using r-reticulate instead of mmstat4.hu.data. How can I
> force reticulate to use my virtual environment?
>
> Thanks Sigbert
>
> > library("reticulate")
>
> > py_config()
>
&g...