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

  • SEARCH
  • Home
  • 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 8532135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:38:40+00:00 2026-06-11T09:38:40+00:00

I installed Python through MacPorts, and then changed the path to that one. /opt/local/bin/python

  • 0

I installed Python through MacPorts, and then changed the path to that one.

/opt/local/bin/python

using this command

sudo port select python python27

But now i want to revert to the Mac one at this path

/usr/bin/python

How can I go about doing this?

EDIT:

I uninstalled the MacPort Python, restarted the terminal and everything went back to normal. Strange. But I sill don’t know why/how.

  • 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-11T09:38:42+00:00Added an answer on June 11, 2026 at 9:38 am

    The sudo port select command only switches what /usr/local/bin/python points to, and does not touch the /usr/bin/python path at all.

    The /usr/bin/python executable is still the default Apple install. Your $PATH variable may still look in /usr/local/bin before /usr/bin though when you type in python at your Terminal prompt.

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

Sidebar

Related Questions

I preivously had gtk 2.14.6 installed, using it through python 2.5 with pygtk 2.12.
I'm using Python 2.7.2 on Ubuntu 11.10. I got this error when importing the
I recently installed the enthoughts distribution of python and started to go through the
I am a newbie going through a byte of python (3.0). This is the
I'm using python and CherryPy to create a simple internal website that about 2
This question assumes that the python package I want to install is a django
I have installed some python packages which I am able to access using IDLE
I use this very simple python script Problem loading a specific website through Qt
I've got the following installed through MacPorts on MacOS X 10.5.6: py25-sqlite3 @2.5.4_0 (active)
I've installed python-virtualenv and python-virtualenvwrapper, and created a virtual environment by using mkvirtualenv NAME,

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.