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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:46:30+00:00 2026-06-03T13:46:30+00:00

I have a problem that comes from me following tutorials without really understanding what

  • 0

I have a problem that comes from me following tutorials without really understanding what I’m doing. The root of the problem I think is the fact that I don’t understand how the OS X filesystem works.

The problem is bigger than Python but it was when I started learning about Python that I realized how little I really understand. So in the beginning I started following tutorials which led me to use the easy_install command a lot and when a lot of tutorials recommended PIP I never got it running. So I have run a lot of commands and installed a lot of different packages.

As I have understood Lion comes with a python install. I have been using this a lot and from this I have installed various packages with easy_install. Is there any way to go back to default installation and begin from the very beginning? Is this something I want to do? If so why?

Is there any advantage of using a Python version I have installed with Homebrew? How can I see from where Python is run when I run the Python command?

When I do install something with either easy_install, homebrew, macports etc where do things actually end 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-03T13:46:31+00:00Added an answer on June 3, 2026 at 1:46 pm

    Homebrew installs its software inside the /usr/local subdirectory on your Mac. OS X doesn’t install anything there on its own; in fact, /usr/local is reserved for user-installed stuff. Since Homebrew never installs files outside /usr/local (and doesn’t even have the ability to, unless you run brew using sudo – which is not recommended_) and OS X never installs files inside there, never the two shall mix.

    easy_install and pip install files into system directories by default. That’s why you have to run those commands with sudo to install packages with them.

    I can’t recommend virtualenv enough, regardless of which OS you’re using. It installs a copy of Python, along with any packages or modules you want, inside a directory of your choosing. For example:

    $ cd /tmp
    $ virtualenv foo         
    New python executable in foo/bin/python
    Installing setuptools............done.
    Installing pip...............done.
    $ cd foo
    $ bin/pip install sqlalchemy
    Downloading/unpacking sqlalchemy
      Downloading SQLAlchemy-0.7.7.tar.gz (2.6Mb): 2.6Mb downloaded
      Running setup.py egg_info for package sqlalchemy
    [...]    
    Successfully installed sqlalchemy
    Cleaning up...
    
    [work, work, work]
    [decide this was a bad idea]
    $ cd /tmp; rm -rf foo
    

    …and all traces of the project are now completely gone.

    Use easy_install to install virtualenv into OS X itself – like you’ve done for those other packages – but then do all new development inside isolated directories that you can wipe clean at a moment’s notice. This is pretty much the standard way of developing and deploying Python applications these days.

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

Sidebar

Related Questions

i have following problem: i look for a variable to work with that comes
I am following up from this question here The problem I have is that
I have a problem with jQuery UI autocomplete. I think it comes from the
I have a problem with an image preview that comes up when you hover
One problem that I come across regularly and yet don't have a solution to
i have the following code that won't compile because of generic problems. It comes
I have successfully switched my project from odbc.datareader to mysql.datareader. The problem is that
I have a php page that parses some xml text. That text comes from
In a couple of scripts that I use I have problem that is intermittent.
I have a problem that I have not seen addressed in this particular way

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.