I just run the following command to create a Conda environment:
conda create -n tensorflow python=3.5
However, I want to delete it now. When I try doing:
conda remove -n tensorflow
or
conda remove --name tensorflow
I get the following error:
CondaValueError: no package names supplied,
try "conda remove -h" for more details
However, if I try and see which environments I have, I can see:
base * C:\Users\Me\Anaconda3
flask_env C:\Users\Me\Anaconda3\envs\flask_env
tensorflow C:\Users\Me\Anaconda3\envs\tensorflow
My idea is that I have called the environment with the same name of the package tensorflow.. even though I don't have tensorflow installed in the "base" environment
I would try:
conda env remove --name tensorflow
Which forces conda
to only consider environments, since a
conda remove
command can also be used to remove packages. I suspect conda
is being tripped up by the fact that tensorflow
is a package name and an environment name.
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.