title: OSX Anaconda default python
body: <p>I have anaconda distribution installed on my macbook to my local home directory <code>/Users/simon/anaconda</code></p>
  
  <p>When I open up iterm and type <code>python</code> I see the default OSX install of python. I saw this thread here and implemented the fix mentioned: <a href="https://stackoverflow.com/questions/22773432/mac-using-default-python-despite-anaconda-install">Mac using default Python despite Anaconda install</a></p>
  
  <p>My <code>.bash_profile</code> currently looks like this:</p>
  
  <pre><code>export PATH="$HOME/anaconda/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$PATH"
  </code></pre>
  
  <p>A few strange things happen:</p>
  
  <ol>
  <li>When I type <code>python</code> I still see the OSX python despite having changed my <code>.bash_profile</code></li>
  <li>If I <code>source /Users/simon/.bash_profile</code> this actually fixes the problem. Using <code>python</code> now brings up anaconda's python</li>
  <li>When I quit iterm or restart my computer and try to load python again, it goes back to the OSX version. <code>.bash_profile</code> remains unchanged.</li>
  </ol>
  
  <p>When I try all of the above using terminal everything works fine. The issues described above appear to be specific to iterm2 and I'm not sure why</p>
  
  <p>How do I get my system to use anacondas python instead of the OSX version?</p>