title: Is path broken for anaconda ipython?
body: <p>I wish to use anaconda distribution of ipython, but typing <code>ipython</code> at the terminal produces an error message: </p>
  
  <pre><code>Traceback (most recent call last):
    File "/usr/local/bin/ipython", line 5, in &lt;module&gt;
      from pkg_resources import load_entry_point
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in &lt;module&gt;
      working_set.require(__requires__)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require
      needed = self.resolve(parse_requirements(requirements))
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve
      raise DistributionNotFound(req)  # XXX put more info here
  pkg_resources.DistributionNotFound: ipython==0.13.1
  </code></pre>
  
  <p>Adding PATH to <code>.bash_profile</code> as below produces the same error message. Asking <code>which python</code> produces <code>//anaconda/bin/python</code>, and <code>which ipython</code> produces <code>/usr/local/bin/ipython</code>. How can I fix this such that <code>ipython</code> launches anaconda ipython?   </p>
  
  <pre><code># MacPorts Installer addition on 2012-11-03_at_23:50:01: adding an appropriate PATH variable for use with MacPorts.
  export PATH=/opt/local/bin:/opt/local/sbin:$PATH
  # Finished adapting your PATH environment variable for use with MacPorts.
  # Add colors to terminal
  export CLICOLOR=1
  export LSCOLORS=ExFxBxDxCxegedabagacad
  
  # added by Anaconda 1.6.1 installer
  export PATH="//anaconda/bin:$PATH"
  export PATH=/anaconda//bin/isympy:$PATH
  
  # added to Homebrew: bad command
  export PATH=/usr/local/bin:$PATH
  </code></pre>
  
  <p>Update: I updated anaconda and ipython using <code>conda update</code> as suggested, but still get the same error message. </p>
  
  <p>Update 2: Thanks for all the suggestions. I modified <code>/usr/local/bin/ipython</code> as follows:</p>
  
  <pre><code>#!//anaconda/bin/python
  # EASY-INSTALL-ENTRY-SCRIPT: 'ipython==1.1.0','console_scripts','ipython'
  __requires__ = 'ipython==1.1.0'
  import sys
  from pkg_resources import load_entry_point
  
  sys.exit(
     load_entry_point('ipython==1.1.0', 'console_scripts', 'ipython')()
  )
  </code></pre>
  
  <p>Now <code>which ipython</code> produces //anaconda/bin/ipython, and <code>ipython</code> launches.</p>