...I wrote a ShinyApp to display the results of python scripts by creating a python virtual environment, The Shiny code works well on my own computer, and it also can be deployed. But when I opened the url after the deployment, a error appeared as follow:
It shows that the python virtual environment folder I created is not what it is. But there was no error when I run it locally. Here is my part of code:
path <- "C:/Users/wdeng/Desktop/cases/case_AE/ShinyApp"
use_python(paste(path,'/myvenv/Scripts/python.exe', sep = ''))
use_virtualenv(paste(path,'/myvenv/',sep = ''), required = TRUE)
source_python(paste(path,"/AE_products_checks.py",sep = ''))
source_python(paste(path,"/doc2docx.py",sep = ''))