The ANPM installation process will attempt to install Python on your system. However, if you have previously installed Python and have certain environment variables already present in your CONFIG.SYS file, they may cause a problem.
The optional Python install environment variables in question are:
SET PYTHONHOME= SET PYTHONPATH=
It is advisable that you comment these out in your CONFIG.SYS, re-boot, and only then start the install of ANPM. This will ensure that any existing Python installation is not used by YUM (which may be expecting a different version or configuration).
Following the completion of ANPM install you should not un-comment these in your CONFIG.SYS. Doing so will cause ANPM/RPM/YUM to use your previously installed Python version instead of the ANPM matching one. This of course means that you might not be using the correct version, which could result in further problems and/or errors.