title: Python install uninstall easy_install
body: <p>I have two versions of python on my mac: </p>
  
  <p>One preinstalled by Apple in <code>/usr/bin</code> </p>
  
  <p>One from python.org in <code>/Library/Frameworks/Python.framework/Versions/2.6</code></p>
  
  <p>easy_install always installs to <code>/usr/bin</code> for some ununderstanable reason</p>
  
  <p>So I explicitly now install easy_install in:</p>
  
  <pre><code>sh setuptools-0.6c11-py2.6.egg --install-dir=/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages
  </code></pre>
  
  <p>Now I want to easy_install pip AND ....:</p>
  
  <pre><code>Searching for pip
  Best match: pip 0.8
  Processing pip-0.8-py2.6.egg
  pip 0.8 is already the active version in easy-install.pth
  Installing pip script to /usr/local/bin
  error: /usr/local/bin/pip: Permission denied
  </code></pre>
  
  <p>My path and pythonpath: </p>
  
  <pre><code>PATH="/Library/Frameworks/Python.framework/Versions/2.6/bin:${PATH}"
  export PATH
  
  PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
  export PATH
  
  PYTHONPATH="/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages"
  export PYTHONPATH
  </code></pre>
  
  <ul>
  <li>One more PYTHONPATH where I keep modules I wrote</li>
  </ul>
  
  <p>Sorry I really dont get it.</p>
  
  <p>What am I doing wrong.</p>
  
  <p>I just want to install modules regularly in the Framework Python directory</p>