conda command not found. The .profile and "echo $PATH" seem however okay
<p>I've blindly installed numerous times Python, admittedly without fully knowing what I was installing and where. I figured that now before I encounter even more problems that I need to tidy up my environment a bit. In Terminal, I used the command <code>which -a python</code> and came up with this:</p>

<pre><code>/opt/local/bin/python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
~/anaconda/bin/python
/opt/local/bin/python
/opt/local/bin/python
/opt/local/bin/python
/usr/bin/python
</code></pre>

<p>My <code>.profile</code> has:</p>

<pre><code>export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
export PATH="/opt/local/bin:/opt/local/sbin:/opt/local/lib/gmt4/bin:$PATH"
export PATH="~/teqc:$PATH"
export PATH="/usr/local/runpkr000:$PATH"
# Finished adapting your PATH environment variable for use with MacPorts.
##
# Your previous ~/.profile file was backed up as ~/.profile.macports-saved_2015-04-02_at_16:40:23
##
# MacPorts Installer addition on 2015-04-02_at_16:40:23: 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.
# added by Anaconda 2.3.0 installer
export PATH="~/anaconda/bin:$PATH"
</code></pre>

<p>And <code>echo $PATH</code> gives:</p>

<pre><code>~/anaconda/bin:/opt/local/bin:/opt/local/sbin:/usr/local/runpkr000:~/teqc:/opt/local/bin:/opt/local/sbin:/opt/local/lib/gmt4/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/Library/TeX/texbin:/usr/texbin
</code></pre>

<p>I can't seem to locate where the problem is. I have been using pandas, numpy, matplotlib, scipy on my MBP for over a year and all seem to work fine (actually, the <code>import pandas</code> is always highlighted as red, but it works anyway). I've used Macports and Anacondas to install (as can be seen from the <code>which -a python</code>, it seems), and only just realised that only one of them was necessary to use. I'm a bit confused as to how to configure <code>.profile</code> and generally would like to tidy up this mess. My aim would be to then use <code>conda</code> to install another library (in this case <code>obspy</code>). </p>