Just discovered that installing the Tkinter package is slightly trickier on Ubuntu. In musicalgestures, in the cropping pre-processing step, when using manual cropping, I used tkinter to get the screensize and scale the image (_utils.py: get_screen_resolution_scaled(): Gets the scaled screen resolution. Respects display scaling on high DPI displays.), so it does not overflow the screen. On Ubuntu there seems to be a problem with Tkinter by default. Using sudo apt-get install python3-tk solved it for me. But this means the installation process should include a similar step on Linux.
Just discovered that installing the Tkinter package is slightly trickier on Ubuntu. In
musicalgestures
, in the cropping pre-processing step, when using manual cropping, I used tkinter to get the screensize and scale the image (_utils.py:get_screen_resolution_scaled()
: Gets the scaled screen resolution. Respects display scaling on high DPI displays.), so it does not overflow the screen. On Ubuntu there seems to be a problem with Tkinter by default. Usingsudo apt-get install python3-tk
solved it for me. But this means the installation process should include a similar step on Linux.