python spyder conda install failure

20,780

You are trying to use a Python console to update your conda distribution when you have to update it from your local console.

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:

conda update conda
conda update anaconda
conda install <package>

Update:

Conda commands have to be used directly in the command prompt:

enter image description here

Share:
20,780
Hao Zhang
Author by

Hao Zhang

Updated on February 03, 2020

Comments

  • Hao Zhang
    Hao Zhang about 4 years

    I am new to Python, now I am using Anaconda Spyder as my main Python distribution. I am learning how to use conda to install/update packages. When I read relevant books and searched online, it seemed that All I need to do is to type "conda install " or type "conda update ". When I typed so in my spyder console, I found error message as follows. Where am I wrong here? Thanks for help.

    enter image description here

    Someone suggested me to run it in cmd not in Spyder. Here is my output when I run it in cmd. The update of my pandas also fails in cmd line. enter image description here