title: Issue with Python Path. "ImportError: No module named setuptools"
body: <p>I recently updated to Python 2.7 in order to start working with Django <a href="https://docs.djangoproject.com/en/dev/faq/install/" rel="nofollow noreferrer">"Django requires Python, specifically Python 2.6.5 - 2.7.x."</a></p>
  
  <p>As a result I needed to install some of the tools I have been using when I went through the excellent <a href="http://learnpythonthehardway.org/book/ex46.html" rel="nofollow noreferrer">LPTHW Exercise 46</a></p>
  
  <blockquote>
    <ol>
    <li>pip from <a href="http://pypi.python.org/pypi/pip" rel="nofollow noreferrer">http://pypi.python.org/pypi/pip</a> </li>
    <li>distribute from <a href="http://pypi.python.org/pypi/distribute" rel="nofollow noreferrer">http://pypi.python.org/pypi/distribute</a> </li>
    <li>nose from <a href="http://pypi.python.org/pypi/nose/" rel="nofollow noreferrer">http://pypi.python.org/pypi/nose/</a> </li>
    <li>virtualenv from <a href="http://pypi.python.org/pypi/virtualenv" rel="nofollow noreferrer">http://pypi.python.org/pypi/virtualenv</a></li>
    </ol>
  </blockquote>
  
  <p>Should be easy enough, I had done it all before...</p>
  
  <p>When I run python in terminal I get the below. <strong>Note: Python 2.7.5</strong></p>
  
  <pre><code>$ python
  Python 2.7.5 (v2.7.5:ab05e7dd2788, May 13 2013, 13:18:45) 
  [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>When I type "which python" I get </p>
  
  <pre><code>$ which python
  /Library/Frameworks/Python.framework/Versions/2.7/bin/python
  </code></pre>
  
  <p>However when I try to install distribute, nose or virtualenv I get the below error. <strong>Note Python/2.6</strong></p>
  
  <pre><code>$ sudo pip install distribute
  Exception:
  Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/pip-1.3.1-py2.6.egg/pip/basecommand.py", line 139, in main
  status = self.run(options, args)
  File "/Library/Python/2.6/site-packages/pip-1.3.1-py2.6.egg/pip/commands/install.py", line 258, in run
  import setuptools
  ImportError: No module named setuptools
  
  Storing complete log in /Users/brendanspillane/Library/Logs/pip.log
  localhost:~ brendanspillane$ 
  </code></pre>
  
  <p>I believe the Python/2.6 is the issue here. As a result i tried to set my Python Path (my first time) Using this question as a reference <a href="https://stackoverflow.com/questions/3696124/changing-python-path-on-mac">"changing python path on mac?"</a> i typed in </p>
  
  <pre><code>PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}" 
  export PATH
  </code></pre>
  
  <p>This has no apparent effect.</p>
  
  <p>However I am still not able to run <code>sudo pip install distribute</code> and keep getting the same error. </p>
  
  <p>Can anyone help me? Is it my Python Path? or am I looking in the wrong direction?</p>
  
  <p>Any help is as always, much appreciated. </p>
  
  <p>Deepend</p>