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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:58:08+00:00 2026-06-03T03:58:08+00:00

I stupidly downloaded python 3.2.2 and since then writing ‘python’ in the terminal yields

  • 0

I stupidly downloaded python 3.2.2 and since then writing ‘python’ in the terminal yields ‘command not found’. Also, when starting the terminal I get this:

Last login: Wed May 2 23:17:28 on ttys001
-bash: export: `folder]:/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/local/bin:/opt/local/sbin:/usr/local/git/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Applications/android-sdk-mac_86/tools:/Applications/android-sdk-mac_86/platform-tools:/usr/local/git/bin:/usr/X11/bin:/usr/local/ant/bin’: not a valid identifier

Why the Android SDK folder is there is beyond me. It’s all jazzed up. Any ideas how can I remove the offending file, folder or fix his problem? I’ve checked the System Profiler and python 2.6.1 and 2.7.2.5 shows up.

  • 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-03T03:58:09+00:00Added an answer on June 3, 2026 at 3:58 am

    If the binary was not overridden it’s typically located in

    /System/Library/Frameworks/Python.framework/Versions/X.X/bin/python
    

    where X.X is your version (probably 2.7) if it’s not located there it could be sometimes found in

    /Library/Frameworks/Python.framework/Versions/X.X/bin/python
    

    If you find the right binary and can run it, go ahead and start symlinking it where you need to and making the necessary patches. My first piece of advice would be changing your Current to point to the old version.

     sudo ln -s /System/Library/Frameworks/Python.framework/Versions/X.X /System/Library/Frameworks/Python.framework/Versions/Current
    

    or

    sudo ln -s /Library/Frameworks/Python.framework/Versions/X.X /Library/Frameworks/Python.framework/Versions/Current
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made a hangman game in Python, and stupidly didn't save as before
Python rather stupidly has a pragma directive in its include files that forces a
I have a site which I have rather stupidly created in two halves. I
I have a WCF server and I'm tapping into the Faulted event which stupidly
I have rather stupidly published a game on the android market with a package
I made this stupidly simple PHP file containing <?php class stuff { private $var;
This is probably something really stupidly simple.. I have a drop down list bound
My OOB app was working fine. I stupidly renamed all my namespaces and my
I stupidly removed the subprocess.py module from /usr/lib/python3.2 so I tried to fix this
This sounds stupidly easy, however I've been googling for over an hour and I

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.