Why don’t you check for both and use the one that’s available, otherwise print an error. Additionally you could read an env INKSCAPE_BIN and also include that in your checks.
So one could for example do INKSCAPE_BIN=‘distrobox enter arch – inkscape’ python main.py
Not my favorite, but I use this one for debugging #FF00FF.
It started back then in the early 2000s when I used to modify winamp skins, which used this particular color for transparency in their BMP sprites (no PNGs back than). Since then it stuck with me.
Hell, I even pay for a service that has all the magnet links resolved and ready to stream, no downloading involved. For 30 bucks (a year!) it’s been the most convenient way of enjoying movies & shows.
Can you pinpoint what you did to your system before? Did you do a system update? Did you move game files around? Did you add any repositories trying to install something that also updated other dependencies, or alike?
I’m not familiar with mint, but maybe you can see whether you can easily downgrade to the previous version you had. And hold off on the updates until a fix is published for the broken stuff.
But before that, take a look at the mint communities and see whether it’s a known issue and whether there is a manual intervention needed to fix it. Something like “newest update broke some proton games”, etc.