Error in value[[3L]](cond): Python virtual environment Directory can't be recognized after ShinyApp deployed

Uploading your virtualenv is not likely to result in success either, since there is likely compiled code that works on whatever you are running locally, e.g. Windows, that will not work on shinyapps.io which runs Linux.

There is work underway in the rsconnect package to capture Python packages. Once that is released, there will need to be work on shinyapps.io to install them.

In the meantime, you will need to create the virtualenv and install the packages in the code that you deploy to shinyapps.io.