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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.