conda command will prompt error: "Bad Interpreter: No such file or directory"
<p>I'm using arch linux and I've installed Anaconda as per the instruction on the Anaconda site. When I'm attempting to run <code>conda info --envs </code> I get the following error:</p>
<blockquote>
<p>bash: /home/lukasz/anaconda3/bin/conda:
/opt/anaconda1anaconda2anaconda3/bin/python: bad interpreter: No such
file or directory</p>
</blockquote>
<p>I've tried looking for the directory <code>/opt/anaconda1anaconda2anaconda3/bin/python:</code> but it simply doesn't exist.</p>
<p>Furthermore, when I run python from the terminal it runs as normal with the following displayed at the top</p>
<pre><code>Python 3.5.2 |Anaconda custom (64-bit)| (default, Jul  2 2016, 17:53:06) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
</code></pre>
<p>for completeness my <code>.bashrc</code> file resembles:</p>
<pre><code>#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] &amp;&amp; return

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '

# added by Anaconda3 4.0.0 installer
export PATH=&quot;/home/lukasz/anaconda3/bin:$PATH&quot;

# python startup for up keys
export PYTHONSTARTUP=$HOME/.pythonstartup
</code></pre>
<p>I've tried following <a href="https://stackoverflow.com/questions/35246386/conda-command-not-found">this</a> and making the the appropriate changes but nothing, I've also attempted to do <a href="https://stackoverflow.com/questions/33946829/conda-command-not-found-path-is-in-bashrc">this</a> but there really isn't a solution posted.</p>
<p>I would like to try to fix this without having to remove Anaconda and reinstalling it.</p>