I'm having some issue using the default python version of my Ubuntu Mate 18.04 (2.7.15+) with a program that requires a more modern Unicode support (as far as I understood 2.7.16 would be enough). Can the default python be safely upgraded to that version in Ubuntu Mate? Otherwise, is there a way to launch a program somehow pointing him to python3? The author of this specific software suggested me to launch it using the -R option, that is supposed to autodetect the newer version of python and reset the default, or so he says, but it don't work.
This is the error I get when I try to run a python script from that program:
Error: could not find symbol "PyUnicodeUCS2_FromWideChar"
Python could not be properly initialized. We must quit.
For reference, this is the problem as I have explained in more detail elsewhere, I don't want to bother you with details about a third-party software, but in case you need them: https://www.nitrc.org/forum/forum.php?thread_id=10603&forum_id=6713
Thank you in advance for any answer.
EDIT: the problem was solved for me with an internal setting of the software, but I would take advantage of the circumstance to understand better the matter: is Mate (or Ubuntu) compatible with a more recent version of Python 2.7 set as default? If not, it would still possible to install Python 3 in a standard path such as /usr/lib? And how does the -R (or -r?) option work? I can't find anything online about it.