Reputation: 5071
I am trying to remove the Py2 environment from my Ananconda 3 installation but in vain.
I follow advice found in the official documentation
I am asked to deactivate the environment but even after I deactivate it I get again the same message. See below:
Upvotes: 1
Views: 3552
Reputation: 7412
Try this, maybe it will help:
conda remove -n ENVIRONMENT_NAME --all
Here is a link to the docs.
Upvotes: 3
Reputation: 251408
The problem is that you misunderstood the documentation. It says conda remove --name myenv --all
. You interpreted this as meaning you should replace name
with the name of your environment. But name
is the name of the command option and can't be changed; instead you need to replace myenv
with the name of your environment, so that the command becomes
conda remove --name py27 --all
Upvotes: 2