I would like to run a python script with conflicts with the use of a certain graphical framework:
ImportError: Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'qt5' is currently running
Therefore I would like to ask if there is a way to determine all processes that are currently using qt5 and depending on the result kill those process, so that I can run my script. (The script worked before the qt5 issue just fine - no idea by which application this new issue was caused).
lsofto find processes that use a certain file. If you know which files are involved in "using qt5" than you can check these.