When we import the package owlready2 , we get an error Error in py_module_import: ImportError: No module named owlready2" in the shinyapps,io server.... where as in our local system it works fine....can some one in shinyapps.io help us please?
If you are using reticulate, you will need to include the command to install your python package in the code that is deployed to shinyapps.io, as it does not automatically happen.
Thank you for the reply....we have tried to install the package owlready2 using the command py_install(c("owlready2"))....and it gets installed in shiny apps.io...following is the content in the log file
however when we try to import the module owlready2 it gives the following error
Warning: Error in py_module_import: ImportError: No module named owlready2 2018-11-29T09:54:44.020059+00:00 shinyapps[584773]: 68: <Anonymous> 2018-11-29T09:54:44.020332+00:00 shinyapps[584773]: Error in py_module_import(module, convert = convert) : 2018-11-29T09:54:44.020333+00:00 shinyapps[584773]: ImportError: No module named owlready2
Also owlready2 need to be installed using python 3....
From what I can see, reticulate's support for Python 3 is lacking at the moment.
I would suggest following along there, and adding your vote for improved support of Python 3, especially in environments where both Python 2 and 3 are present.