Sir,
Sorry to trouble you.
But Command "gmx_MMPBSA work perfectly" but when I go gmx_MMPBSA_ana, it not work and same error arise "ERROR:root:MMPBSA_Error Could not import PyQt5. gmx_MMPBSA_ana will be disabled until you install it."
I have installed PyQt5 in AmberTools21 environment in conda
These are step I followed....
1. Conda create --name AmberTools21
2. conda activate AmberTools21
3. conda install -c conda-forge ambertools=21 compilers
4. sudo apt install openmpi-bin libopenmpi-dev openssh-client
5. python -m pip install PyQt5
6. python -m pip install gmx_MMPBSA
All steps are carried in AmberTools21 environment in conda