Modified to get python3 version and pip3
Modified to get python3 version and pip3

Change-Id: I512d324d981acd0c0eb794954d65266ce949b196
Signed-off-by: Anusha Dathatri <b0fbc8597dc53d9d732be929e6b09fd9c08ed974@in.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation