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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:11:04+00:00 2026-06-05T06:11:04+00:00

Is there a definitive guide for how to install Homebrew’s Python properly, along with

  • 0

Is there a definitive guide for how to install Homebrew’s Python properly, along with pip, virtualenv, virtualenvwrapper etc.?

I’ve read the following pages:

https://github.com/mxcl/homebrew/wiki/Homebrew-and-Python
http://osxastrotricks.wordpress.com/2012/05/02/python-setup-with-homebrew/
http://skipperkongen.dk/2011/11/13/installing-django-in-virtual-environment-on-mac/
http://www.thisisthegreenroom.com/2011/installing-python-numpy-scipy-matplotlib-and-ipython-on-lion/
http://youshoulddoityourself.blogspot.com.au/2010/11/test.html

I have OSX 10.8 (Mountain Lion) DP3, and I installed the XCode Command Line Tools.

I also installed XQuartz as well, just in case (10.8 doesn’t provide it).

I then ran:

brew install python  --universal --framework

I added the following to my ~/.bash_profile:

export PATH="/usr/local/bin:/usr/local/share/python:${PATH}"

I then ran:

sudo easy_install pip

which seemed to work.

I check where pip’s installed:

 Victors-MacBook-Pro:~ victorhooi$ which pip
/usr/local/bin/pip

However, when I try to pip install packages, I get an error complaining about not being able to write to /Library/Python/2.7/site-packages:

running install_lib

creating /Library/Python/2.7/site-packages/yolk

error: could not create '/Library/Python/2.7/site-packages/yolk': Permission denied

----------------------------------------
Command /usr/bin/python -c "import  setuptools;__file__='/Users/victorhooi/build/yolk/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /var/folders/gg/m37t1rkx4zj7z54ls487jfc40000gn/T/pip-ap7LSB-record/install-record.txt failed with error code 1 in /Users/victorhooi/build/yolk
Storing complete log in /Users/victorhooi/Library/Logs/pip.log

My understanding was that Homebrew’s Python would install into it’s own site-packages, and I wouldn’t need to do weird chown’s all over the filesystem tree to get things to work?

Cheers,
Victor

  • 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-05T06:11:05+00:00Added an answer on June 5, 2026 at 6:11 am

    Please, as someone who has been exactly where you are, start using virtual environments first, then pip and the rest. They are awesome, and will solve this and many future problems.

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

Sidebar

Related Questions

Is there a definitive guide for special folders in windows? An internet search yielded
Are there any internet resources that have a definitive guide to all of the
I want to make a setings menu like this: Is there a definitive guide
In the Hadoop : The Definitive Guide book, there is a sample program with
I am following the book Hadoop: the definitive Guide . I am confused on
Is there a definitive gem for the YouTube API? I'm trying to use youtube_g,
Is there somewhere that I can get a definitive list of what is and
I notice that the official recommended book The Definitive Guide to Django was written
I am reading the book -- Hadoop: The Definitive Guide In chapter 2 (Page
Possible Duplicate: The Definitive C++ Book Guide and List i have a lot of

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.