Why is Python easy_install not working on my Mac?

  1. Check your /usr/bin and /usr/local/bin for easy_install installations and remove any old script:

    sudo rm -f /usr/bin/easy_install*
    sudo rm -f /usr/local/bin/easy_install*
    
  2. Download and run distribute:

    curl -O https://svn.apache.org/repos/asf/oodt/tools/oodtsite.publisher/trunk/distribute_setup.py
    
    sudo python distribute_setup.py
    sudo rm distribute_setup.py
    
  3. Try again, and enjoy. E.g.:

    sudo easy_install pip
    

Leave a Comment