How to check what python version is running on the system

Solution Verified - Updated -

Issue

I registered a particular server with Redhat Software Collectiona and installed Python33:

# yum install python33

But when running the following command, I still get the Python 2.6.6 version:

[root@server Python-3.4.1]# python -V
Python 2.6.6

How do I make sure if Python 3.3.2 has been installed successfully?

Environment

Red Hat Enterprise Linux (RHEL) 6
Red Hat Software Collections (RHSCL)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content