I'm trying to run some python scripts using reticulate in my dashboard and I'm getting the following:
Warning: Error in py_call_impl: AttributeError: type object 'str' has no attribute 'maketrans'
This should work, but only in Python 3 so I'm guessing my script is being run in Python 2. Is there a way to specify the version I want the shinyapps server to use?
I am trying to use:
use_python("/usr/local/bin/python3", required = TRUE)
But I don't know the path for python3.