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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:42:02+00:00 2026-05-30T18:42:02+00:00

I am a bit of a Python newbie, and am struggling with what seems

  • 0

I am a bit of a Python newbie, and am struggling with what seems like a simple task.

I have installed Python using Homebrew on my Mac. When I run which python it returns /usr/local/bin/python and when I run ls -al /usr/local/bin/python I can see that python is symlinked as follows /usr/local/bin/python -> ../Cellar/python/2.7.1/bin/python, indicating that Homebrew’s version of Python is installed.

Now when I install the boto module, I did so as follows:
easy_install boto and it showed me that the module is installed into /Library/Python/2.7/site-packages/boto-2.2.2-py2.7.egg

The odd thing is that when I do the following, I am told the boto module does not exist.

$ python
Python 2.7.1 (r271:86832, Aug 31 2011, 23:21:36)
>>> import boto
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named boto

Why is that module not available? It’s almost like Homebrew is installing modules into the standard library folder, but is not linking back to that directory when searching for installed modules.

Can anyone explain what is going on?

Thanks

  • 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-30T18:42:03+00:00Added an answer on May 30, 2026 at 6:42 pm

    easy_install is a script which calls a certain version of python. It must be pointing to the wrong python in your case.

    % which easy_install
    /usr/bin/easy_install
    

    Notice that in my example, easy_install is calling /usr/bin/python:

    % head -n1 /usr/bin/easy_install
    #! /usr/bin/python
    

    Change the first line to point to /usr/local/bin/python.

    Alternatively, your installation of Homebrew might come with its own easy_install. In that case, just find Homebrew‘s easy_install and call that one.

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

Sidebar

Related Questions

I installed latest 64-bit Python 2.5. I run the shell, and try to import
I've just recently switched over to using 64-bit Python 2.6.1 on Mac OS X
I have installed PyOpenGL from here for 64-bit Python 3.x and Windows 7. I
I have been learning a bit of Python 2 and Python 3 and it
I'm working on my first object oriented bit of python and I have the
How can we find the system type (i.e. 32-bit or 64-bit) using Python...?
In Python, I can run a bit of code optionally if a given package
I am running OSX Lion and have installed python2.7 from python.org (this distribution can
I want a 64-bit python interpreter on my Mac so I had to rebuild
I have a bit of Python to connect to a database with a switch

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.