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:
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.