-
Notifications
You must be signed in to change notification settings - Fork 283
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
Installation Issue #1412
Comments
Can you please post the full output from: reticulate::install_python()
keras3::install_keras() |
Hi @t-kalinowski
|
Hi, Can you please post the output from running these commands: reticulate::install_python()
keras3::install_keras() (Not the output from running |
Sorry I did not understood it.
|
Thanks, it looks like installation succeeded. I think the issue is:
You can explicitely choose a venv: library(keras3)
library(tensorflow)
use_virtualenv("r-keras") |
Ok but it seems that keras 3 has a different way to be written than keras do you have any doc about it For example this would work in keras but not in keras 3
with keras 3 I got the following output
I have tried to update python ssl manual without success |
The ssl error is likely due to the fact that you're on a relatively old OS (CentOS 7), but trying to use a relatively new Python. I think usually reticulate::install_python(force = TRUE) And read the output carefully. See if there is anything that looks like an error message related to SSL. This link might also be helpful for troubleshooting. https://github.com/pyenv/pyenv/wiki/Common-build-problems#error-the-python-ssl-extension-was-not-compiled-missing-the-openssl-lib Bottom line, you don't have a valid Python installation that's currently not EOL'd. |
Hello I aam trying to install Tensorflow on a Unix server that use to do some computation. I have followed your instruction below and I get the following error message when I run
tensorflow::as_tensor("Hello World")
Here is the output of sessionInfo()
Thank you in advance.
Best regards
William
Many installation issues are resolved by running the following in a fresh R session (you can restart R in Rstudio with Ctrl+Shift+F10) :
Test to see if installation was successful.
If the above snippet succeeded and you saw something like
tf.Tensor(b'Hello World', shape=(), dtype=string)
, then 🎉, you've successfully installed Tensorflow.If the above installation failed, please gather some diagnostic info:
Please copy and paste the FULL OUTPUT of running all three snippets, and be sure to enclose the output lines with three backticks (```) for monospace formatting.
The text was updated successfully, but these errors were encountered: