You may also experience problems with pandas, mpi4py, and other python modules.
After an intensive search and several tests on the latest version of Centos 7 I managed to get it to work, however, it is extremely complicated, as there are too many incompatible libraries.
Unfortunately, I think the best solution is to use a more desktop-dedicated distribution. Centos, like Debian, are distributions dedicated to server, so they use the libraries that work (for example cmake available in the repository is 2.8 while ambertools needs at least version 3.8)
Since they are compatibility problems of various libraries, it is impossible for us to give them adequate support. I recommend using a distribution more dedicated to desktop, such as Ubuntu, Linux Mint, Manjaro, Fedora, OpenSuse, etc (There are many, choose the one that suits your needs)
In the case of an HPC, it is not necessary to install PyQt5 and gmx_MMPBSA should work correctly. To run gmx_MMPBSA on HPC you must define the -nogui option. Then you must download the results folder to your PC and do the analysis on it using gmx_MMPBSA_ana since it is a standalone application.
Best!
Mario