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

Fatal Error when running tensorflow #1383

Closed
chaosssss123 opened this issue Oct 16, 2023 · 2 comments
Closed

Fatal Error when running tensorflow #1383

chaosssss123 opened this issue Oct 16, 2023 · 2 comments

Comments

@chaosssss123
Copy link

Many installation issues are resolved by running the following in a fresh R session (you can restart R in Rstudio with Ctrl+Shift+F10) :

# install the development version of packages, in case the
# issue is already fixed but not on CRAN yet.
install.packages("remotes")
remotes::install_github(sprintf("rstudio/%s", c("reticulate", "tensorflow", "keras")))
if (is.null(reticulate::virtualenv_starter()))
  reticulate::install_python()
keras::install_keras()

Test to see if installation was successful.

tensorflow::as_tensor("Hello World")

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:

reticulate::py_config()
tensorflow::tf_config()
reticulate::import("tensorflow")
reticulate::py_last_error()
sessionInfo()

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.

@chaosssss123
Copy link
Author

i have a similar problem. i have tried everything it does not work. after installing tensorflow , R crashes, fatal error. It is really so frustrating. the last bits of code before it crashes: Downloading tensorflow-2.14.0-cp39-cp39-win_amd64.whl (2.1 kB)
Downloading tensorflow_intel-2.14.0-cp39-cp39-win_amd64.whl (284.1 MB). Please help m

@t-kalinowski
Copy link
Member

Dup of rstudio/tensorflow#585

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