-
Notifications
You must be signed in to change notification settings - Fork 282
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
package or namespace load failed for ‘keras’ #1154
Comments
I have slightly modified my code:
But now, the error message is not informative at all. Thus, deployment process runs normally:
The error message:
|
Hello, Please try putting this in your if(!file.exists(reticulate::miniconda_path()))
reticulate::install_miniconda()
if(!reticulate::py_module_available("tensorflow"))
keras::install_keras()
keras::install_keras() |
Automatically closed because there has not been a response for 30 days. When you're ready to work on this further, please comment here and the issue will automatically reopen. |
Good afternoon,
I am trying to deploy my shinyApp, which uses keras and imports python modules via
reticulate::import
function on shynyapps.io. The process seems to run smoothly till the very last moment:But when loaded it gives the following error message:
The errors message seems to be strange to me, as I do not import any modules called "tools". Here is a peace of my code, that seems to cause execution failure:
I have found some similar issues (like [this] one (#268)), but suggested solutions do not have an effect in my situation. Could you please kindly help me with this issue?
The text was updated successfully, but these errors were encountered: