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
Error on install_keras(); virtualenv is not supported on windows #1056
Comments
Please, refer to: https://rstudio.github.io/reticulate/articles/python_packages.html
|
Hi henry090 thank you for you reply. I then tried: and got the following error.
I closed my RStudio session and opened a new one and ran the following
and got:
Tried getting mnist again:
Please note that I'm censoring part of my path for privacy reasons but I want to show that it's got spaces in it in case this could be part of the problem. Something else I don't understand is if I have to run Thanks |
Does this help from fresh Session:
|
Hi henry090. No. Now I get this:
|
Try again to install like this:
Then specify python path:
|
Hi henry09,
|
Please, do not use |
As for your new suggestion, I do all the steps as you say but I get FALSE.
Even though everything is already installed:
I get the same also after I delete the environment and try the process from scratch. |
Hi I got into the same problem. Have you found a solution? |
source: https://pypi.org/project/tensorflow/#files
defined to reticulate Python env in R
it must be something similar result: Python and numpy package in the appropriate envelope is now linked to R. installed from github/source install
restarted R
R starts to collect, download and install all packages if needed. Watch the error messages and set PATH in case of message about it.
Started R and specified the Python env.
|
Try the following method which helped for me on Windows 10 machine:
The above code installs Keras as a tensorflow-backend |
This seems to be a general bug, as I also get the same error since using R4.03 Has this been recognized as an official bug ? This is the output of py_config() if it helps: python versions found: And session info: Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
This worked for me. |
@nagyz222 |
Hello, The code that installs tensorflow and keras has been refactored. 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: |
Hi, I installed Keras. When I do
install_keras()
I get this error:Error: Installing Python packages into a virtualenv is not supported on Windows
I get the same even if I do
install_keras(method="conda")
orinstall_keras(method="auto")
This is the output of py_config() if it helps:
I'm using R 4.0.0. This is sessionInfo():
Also, I can load both TF and Keras in Python.
Any help would be greatly appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: