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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:22:10+00:00 2026-06-13T14:22:10+00:00

I am running python on Macbook Air and I realized that I have many

  • 0

I am running python on Macbook Air and I realized that I have many versions of python installed available via multiple paths

hhimanshu@air~ - 11:43:51  $ which python
python is /Users/hhimanshu/.virtualenvs/envs/bi/bin/python
python is /Library/Frameworks/Python.framework/Versions/Current/bin/python
python is /opt/local/bin/python
python is /usr/bin/python

(bi)hhimanshu@air~ - 11:56:54  $ /Users/hhimanshu/.virtualenvs/envs/bi/bin/python --version
Python 2.7.2

(bi)hhimanshu@air~ - 11:57:03  $ /Library/Frameworks/Python.framework/Versions/Current/bin/python --version
Python 2.7.3 -- EPD_free 7.3-2 (32-bit)

(bi)hhimanshu@air~ - 11:57:13  $ /opt/local/bin/python --version
Python 2.7.3

(bi)hhimanshu@air~ - 11:57:22  $ /usr/bin/python --version
Python 2.7.2

My $PATH value looks like

(bi)hhimanshu@air~ - 11:57:28  $ echo $PATH
/Users/hhimanshu/.virtualenvs/envs/bi/bin:/Users/hhimanshu/.pythonbrew/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:/Users/hhimanshu/.rvm/gems/ruby-1.9.2-p318/bin:/Users/hhimanshu/.rvm/gems/ruby-1.9.2-p318@global/bin:/Users/hhimanshu/.rvm/rubies/ruby-1.9.2-p318/bin:/Users/hhimanshu/.rvm/bin:/Users/hhimanshu/.rbenv/shims:/Users/hhimanshu/.rbenv/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/mongodb/bin:/usr/local/sbin:/usr/local/mysql/bin:/Users/hhimanshu/.ec2/bin

I see issue because when I use virtualenv and see what python version I have, I see

 $ yolk -l
    Python          - 2.7.2        - active development (/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload)
    pip             - 1.2.1        - active 
    setuptools      - 0.6c11       - active 
    wsgiref         - 0.1.2        - active development (/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7)
    yolk            - 0.4.3        - active

But what I need is

$ /Library/Frameworks/Python.framework/Versions/Current/bin/python --version
Python 2.7.3 -- EPD_free 7.3-2 (32-bit)

How can I fix my environment?

  • 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-13T14:22:12+00:00Added an answer on June 13, 2026 at 2:22 pm

    Following command will help you.

    export PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:$PATH
    

    and check whether path is updated or not.

    Or you can edit the respective configuration (.profile in home directory) file for permanent change in Mac OS. (In Unix system there is a file named .bash_profile which should be edited)

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

Sidebar

Related Questions

I have a rest server running (python bottle) on the same host that is
I have macbook pro running OS X 10.7 on Intel processor. I have installed
I'm running python 2.6 and PyGST (most recent available for Python 2.6). I've installed
I have a long-running Python script that I run from the command-line. The script
I'm running Mac OS X 10.7.3 on a Macbook Pro. It came with Python
When running a Python program that reads from stdin, I get the following error:
Running Python, I have an image and some data calculated for different ROIs (regions
Running Python 2.6.1 on OSX, will deploy to CentOS. Would like to have a
Running Python 3.2 on Windows 7 Pro 64 Bit. OK I have some very
I am running python nosetests on a foreign module. The dots mean that a

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.