support on reticulate

My shinyapp uses reticulate because one of my library use some python function.
I keep getting "Error detecting python for reticulate".
I tried everything I have seen in other posts on the subject like:

use_python(python = "C:/Anaconda3",required = FALSE)
py_available(initialize = TRUE)
[1] TRUE
setting the RETICULATE_PYTHON environment... but in vain, always getting this error
And of course trying to use an old rsconnect package with the famous:
With this last command I got (after many minutes):
Preparing to deploy application...DONE
Uploading bundle for application: 983472...DONE
Deploying bundle: 2158207 for application: 983472 ...
Waiting for task: 623011556
building: Processing bundle: 2158207
building: Parsing manifest
building: Building image: 2275583
building: Installing system dependencies
building: Fetching packages
building: Building package: RUnit
building: Building package: RSpectra
building: Building package: quantreg
curl: (56) Send failure: Connection was aborted
Error in http(service$protocol, service$host, service$port, method, url, :
Curl request failed (curl error 56 occurred)
Calls: ... isContentType -> grepl -> GET -> httpRequest -> http
Execution halted
It's a pity because I have to go for another solution after more than one month of hard work...

This path doesn't exist in server, have in minde that the published app is going to run in a system other than yours, try with something like this:

# Create a virtual environment selecting your desired python version
virtualenv_create(envname = "python_environment", python= "python3")
# Explicitly install python libraries that you want to use, e.g. pandas, numpy
virtualenv_install("python_environment", packages = c('pandas','numpy')
# Select the virtual environment
use_virtualenv("python_environment", required = TRUE)
1 Like