Please confirm version of python used in CAPM 21.2.3 which uses vertica 10.1.1 ?
Earlier Both python2 and python3 were shipped in /opt/vertica/oss
Python3 is installed with 10.1.1
Any system with python2 can be uninstalled. When they move to 10.1.1, there should be none under /opt/vertica anymore. As it installs python3.