 <p>You are trying to use a Python console to update your conda distribution when you have to update it from your local console.</p> <p>I guess you're using Windows, just open the command prompt (cmd.exe), and from there update the conda distribution with the commands you already know:</p> <pre><code>conda update conda conda update anaconda conda install &lt;package&gt; </code></pre> <p><strong>Update:</strong></p> <p>Conda commands have to be used directly in the command prompt:</p> <p><a href="https://i.stack.imgur.com/wYH4a.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wYH4a.png" alt="enter image description here"></a></p>