Displaying 5 results from an estimated 5 matches for "py_install".
2020 Aug 02
2
State-of-the-art NLP models from R
...hecho es que me pasa lo
> siguiente:
> >
> > > library(reticulate)
> > > use_python("/usr/local/bin/python3.7")
> > > Sys.which(c("python3.7"))
> > python3.7
> > "/usr/local/bin/python3.7"
> > > py_install(packages = c("transformers"),
> > + python_version = 'python3.7',
> > + pip = TRUE)
> > Error: could not find a Python environment for /usr/bin/python
> >
> > Vamos, que no puede encontrar donde...
2020 Aug 03
2
State-of-the-art NLP models from R
...gt; conda_list()
>
> name
> 1 anaconda3
> 2 r-reticulate
> 3 r-tensorflow
> python
> 1 /anaconda3/bin/python
> 2 /anaconda3/envs/r-reticulate/bin/python
> 3 /anaconda3/envs/r-tensorflow/bin/python
>
> py_install(
> packages = c("transformers"),
> envname = "r-reticulate",
> method = c("conda"),
> conda = "auto",
> python_version = NULL,
> pip = TRUE
> ) # Tampoco saco el resultado porque es
> igualmente...
2020 Aug 02
2
State-of-the-art NLP models from R
...rs*. No
puedo continuar sin ello.
El hecho es que me pasa lo siguiente:
> library(reticulate)
> use_python("/usr/local/bin/python3.7")
> Sys.which(c("python3.7"))
python3.7
"/usr/local/bin/python3.7"
> py_install(packages = c("transformers"),
+ python_version = 'python3.7',
+ pip = TRUE)
Error: could not find a Python environment for /usr/bin/python
Vamos, que no puede encontrar donde está
Python en mi máquina. Pero yo creía haberlo...
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...
2024 Jul 15
1
reticulate + virtual environments
...berlin.de> wrote:
>
> 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&quo...