Error: 'conda' can only be installed into the root environment

Viewed 15677

I am getting the following error when I try to install the python package seaborn:

conda install --name dato-env seaborn
Error: 'conda' can only be installed into the root environment

This, of course, is puzzling because I am not trying to install conda. I am trying to install seaborn.

This is my setup. I have 3 python environments:

  • dato-env
  • py35
  • root

I successfully installed seaborn previously (with the command conda install seaborn), but it installed in the root environment (and is not available to my iPython notebooks which are using the dato-env).

I tried to install seaborn in the dato-env environment so that it would be available to my iPython notebook code, but I keep getting the above error saying that I must install conda in the root environment. (conda is installed in the root environment)

How do I successfully install seaborn into my dato-env?

Thanks in advance for any assistance.

Edit:

> conda --version
conda 4.0.5
> conda env list
dato-env              *  /Users/*******/anaconda/envs/dato-env
py35                     /Users/*******/anaconda/envs/py35
root                     /Users/*******/anaconda
3 Answers
Related