Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8597489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:55:30+00:00 2026-06-12T00:55:30+00:00

When I type python in command line, it says: Python 2.4.3 (#1, Dec 11

  • 0

When I type “python” in command line, it says:

Python 2.4.3 (#1, Dec 11 2006, 11:39:03) 
[GCC 4.1.1 20061130 (Red Hat 4.1.1-43)] on linux2

But I have an application that uses Python 2.7 on the same machine. How come this application is using python 2.6.5 although shell writes “2.4.3” when I type “python”?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T00:55:31+00:00Added an answer on June 12, 2026 at 12:55 am

    It’s using some other Python binary, possibly one it installed. This may or may not be easily accessible to you without changing your path variable.

    For example, the company I work for (Tecplot) ships a complete Python distribution with our flagship product (Tecplot 360), because of all the support headaches involved in trying to let users use whatever version of Python is installed on their machine. Worse, their machine may be locked down and they might not even be able to choose what version of Python they use. By providing our own Python binaries, we know what version the customer will be using, and we can test that it works before shipping.

    If you dig around in the application’s install directory, you can probably find out where they stashed their Python executable. Most likely it can be run without the application if you know where it is, and you can probably install additional modules there if you can find a site-packages directory (and have appropriate permissions). Try doing echo $path from a shell opened up from the application, if that’s possible, to get a list of the directories you should look in, or in Python, do import sys; print sys.executable.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

To exit from Python command line, I have to type exit(). If I type
I have a completely non-interactive python program that takes some command-line options and input
I'm trying to authenticate a python command line script agains my app engine application
I have some difficulties trying to run the python programs from cmd, or command-line.
I know that the builtin set type in python is not generally threadsafe, but
I have a python dictionary of type defaultdict(list) This dictionary is something like this:
when I write Python code from the interpreter I can type dir() to have
Question: In command line, how do I call a python script without having to
I'm using the argh library to create a python command line tool. Several of
I need to execute shell command in python program (I have ubuntu). More specifically

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.