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

Hey i have the same issue on windows in rstudio running in anaconda #1051

Closed
voraaditya opened this issue Jun 1, 2020 · 2 comments
Closed
Labels
awaiting response Waiting for issue author to respond

Comments

@voraaditya
Copy link

Hey i have the same issue on windows in rstudio running in anaconda

Here's a snippet of log when i load the mnist examples:

fashion_mnist<-dataset_fashion_mnist()
Error: Python module tensorflow.keras was not found.

Detected Python configuration:

python: C:/Users/Aditya/anaconda3/envs/r-reticulate/python.exe
libpython: C:/Users/Aditya/anaconda3/envs/r-reticulate/python36.dll
pythonhome: C:/Users/Aditya/anaconda3/envs/r-reticulate
version: 3.6.10 |Anaconda, Inc.| (default, May 7 2020, 19:46:08) [MSC v.1916 64 bit (AMD64)]
Architecture: 64bit
numpy: C:/Users/Aditya/anaconda3/envs/r-reticulate/Lib/site-packages/numpy
numpy_version: 1.18.4
tensorflow: C:\Users\Aditya\ANACON1\envs\R-RETI1\lib\site-packages\tensorflow_init_.p

python versions found:
C:/Users/Aditya/anaconda3/envs/r-reticulate/python.exe
C:/Users/Aditya/anaconda3/python.exe
C:/Users/Aditya/anaconda3/envs/renv/python.exe

Originally posted by @voraaditya in #826 (comment)

@turgut090
Copy link
Contributor

Coould you run the following and paste results here?

keras:::keras_version()
tensorflow::tf_version()

@t-kalinowski t-kalinowski added the awaiting response Waiting for issue author to respond label Jul 27, 2021
@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
awaiting response Waiting for issue author to respond
Projects
None yet
Development

No branches or pull requests

3 participants