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

Any workarounds for installing on Windows? OpenSSL problems. #35

Open
erdeyl opened this issue Oct 9, 2022 · 3 comments
Open

Any workarounds for installing on Windows? OpenSSL problems. #35

erdeyl opened this issue Oct 9, 2022 · 3 comments

Comments

@erdeyl
Copy link

erdeyl commented Oct 9, 2022

Hi, I have a Windows-based (v11) and a Mac M1 with Tensorflow for R working great. On my new laptop (Windows 11), I currently face "CondaSSLError: OpenSSL is required to download and install packages". This seems to be a general Python problem for now. Still, after so many hours of suffering with attempts at the proper configuration, I would be pleased to learn if you have any workaround for the current situation. Thank you.

@t-kalinowski
Copy link
Member

t-kalinowski commented Oct 10, 2022

The OpenSSL issue if I recall was originating from conda, or from insufficient system permissions. You might have better luck if you install a virtual environment.

library(reticulate)
uninstall_miniconda()
install_python()
virtualenv_create("r-reticulate", install_python())
keras::install_keras(envname = "r-reticulate)

@erdeyl
Copy link
Author

erdeyl commented Oct 10, 2022

Thank you for your answer.
I got back to my original problem, why I tried miniconda.

library(reticulate)
miniconda_uninstall()

so far, so good, then
install_python()
runs to an error: Error in setwd(root) : cannot change working directory

I am not comfortable outside my usual R usage and Stata. At the same time, I would love to use Tensorflow from R.
I appreciate your great work and kind efforts.

@erdeyl
Copy link
Author

erdeyl commented Oct 12, 2022

Just out of curiosity I tried to install Tensorflow and Keras for R in an other Windows based computer and ran to the same error message as above. install_python() seems to look for a nonexistent library causing and error, miniconda_install() that is suggested by install_keras() stops at trying to find openssl on Windows. I would kindly appreciate any help.

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

2 participants