Displaying 3 results from an estimated 3 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...