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 1062637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:39:27+00:00 2026-05-16T18:39:27+00:00

Why is there so many Pythons installed in /usr/bin for my Snow Leopard? What

  • 0

Why is there so many Pythons installed in /usr/bin for my Snow Leopard? What decides which one is the System Python?

When I simply type “python” it is 2.6.1 ~ but this doesn’t seem to be the “System Python”, why not? How does one change system Python and what are the drawbacks?

  • 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-05-16T18:39:28+00:00Added an answer on May 16, 2026 at 6:39 pm

    My snow leopard only has python 2.5 and 2.6 installed, so it’s not that many. You may have additional pythons installed (i.e. python3.0), either system wide (in /usr/bin/) or through macports (/opt/local).

    The default system python is defined through a setting,

    defaults write com.apple.versioner.python Version 2.5
    

    will change the default to 2.5. You can also use an environment variable, i.e. for bash:

    export VERSIONER_PYTHON_VERSION=2.5
    

    All of this is documented in the python manpage,

    man python
    

    Overall, it’s better not to change the system default. It’s what OSX may depend on for certain scripts, and you never know if these scripts work as expected on different versions. Especially Python 3 is different, and may really break your whole system.

    If you want a different python to be used for your own scripts, either

    1. Use virtualenv (always good)
    2. Change your PATH and make sure your preferred python is included before the /usr/sbin one
    3. Be explicit, invoke the script using /my/preferred/python
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my system there is Django 1.2.3 installed system wide: C:\>python -c import django;
I normally write code with tabs but many python libraries use spaces. Is there
There are many solutions geared toward implementing user-space threads. Be it golang.org goroutines, python's
In Python scripts, there are many cases where a keyboard interrupt (Ctrl-C) fails to
There are so many html and xml libraries built into python , that it's
There were many questions about C++ template classes which contain static member variables, as
There are many similar questions, but I didn't find one that gets straight to
There are many threads on find replace text for python but I think my
For memory leaks, there are many tools available such as valgrind, which you can
I've been having nothing but trouble with python2.6 and Snow Leopard. One major problem

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.