How to isolate Anaconda from system python without set the shell path
<p>I want to install Anaconda locally on my home directory ~/.Anaconda3 (Archlinux) and without setting the path in the shell because I like to keep my system python as the default.</p>

<p>So I like to launch the Spyder (or other Anaconda's app) as isolated app from system binaries. I mean when I launch for example <code>.Anaconda3/bin/spyder</code> it launches spyder and this app uses Anaconda's binaries but when I use <code>python ThisScript.py</code> in my shell it uses system python installed from packages (e.g. /bin/python).</p>

<p>I managed to update the anaconda using <code>.Anaconda3/bin/conda update --all</code> in my shell without setting the Anaconda's binaries path (<code>.Anaconda/bin/</code>) but thsi way run some apps like spyder doesn't work obviously.</p>

<p>You could use virtualenv</p>

<p>1) create a virtual env using the python version you need for anaconda <code>virtualenv -p /usr/bin/pythonX.X ~/my_virtual_env</code></p>

<p>2) <code>virtualenv ~/my_virtual_env/bin/activate</code></p>

<p>3) Run anaconda, then <code>deactivate</code></p>

python linux shell anaconda spyder