tkinter not working in

has anyone ever successfully deployed a Shiny App that uses reticulate and python3-tk (tkinter) to I've tried multiple times and ways but it didn't work out yet.
My app creates a python-virtualenv and locally on my laptop, it works without installing pyton3-tk into the venv but on it doesn't - the logs say I need to install it. But installing it works neither locally nor on the web page.

reticulate::virtualenv_create(envname = virtualenv_dir, python = python_path)
reticulate::virtualenv_install(virtualenv_dir, packages = *python3-tk here*, 
reticulate::use_virtualenv(virtualenv_dir, required = T)

I'm getting frustrated. Thanks a lot for your help.

1 Like

Same problem, anyone here to help