Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect conda environment information #1014

Closed
krzyslom opened this issue Apr 10, 2020 · 2 comments
Closed

Incorrect conda environment information #1014

krzyslom opened this issue Apr 10, 2020 · 2 comments

Comments

@krzyslom
Copy link

Description in keras::install_keras says the following:

Keras and TensorFlow will be installed into an "r-tensorflow" virtual or conda environment.

However there is no default value set for envname parameter. This results in an installation inside the default r-reticulate environment, as mentioned on R tensorflow page. At the moment envname can be passed to the tensorflow::install_tensorflow through the ellipsis.

In the tensorflow package the default environment was changed in the 1.14.1 release. Setting envname = "r-tensorflow" helps to avoid potential conflicts if some modules are already installed inside the default environment. However if the r-reticulate env is desired as standard one then the docs should be corrected.

Please let me know if you would like me to provide a PR.

@skeydan
Copy link

skeydan commented Apr 14, 2020

@t-kalinowski
Copy link
Member

Hello,

The code that installs tensorflow and keras has been refactored.
Please update to the latest versions of reticulate, tensorflow, and keras:

install.packages("remotes")
remotes::install_github(paste0("rstudio/", c("reticulate", "tensorflow", "keras")))
reticulate::install_miniconda() # skip this if you want to self-install conda or use venv
keras::install_keras()

Please let us know if after updating you are still encountering installation issues:
https://github.com/rstudio/tensorflow/issues/new

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants