Conda remove all environments (except root)

MSeifert

I know I can delete a single environment with

 conda remove -n envname --all

but I often create multiple new environments for installing a specifiy package or testing it so I'll regularly end up with 5-10 environments and it's a pain to delete them after one another. Is there an easy way (for windows) to delete all environments except the root-environment?

Edison Gustavo Muenz

Removing all directories inside the envs subdirectory that resides inside conda does the job. This is generally in your user folder ~.

~\.conda\envs\

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Regex to remove all special characters except periods

From Dev

Conda environments and .BAT files

From Dev

Regular Expressions, Remove all punctuation except () -

From Dev

Regex remove all special characters except numbers?

From Dev

Remove all tags in html string except <a>

From Dev

Remove all elements with specific class except for one

From Dev

Remove all buttons from panel except for one

From Dev

Regexp to remove all html tags except <br>

From Dev

Are environments in conda a wrapper for pyenv?

From Dev

Remove all subviews except named

From Dev

git remove all files except some files

From Dev

javascript string: remove all except numbers and the first "."

From Dev

Passenger starting on all urls except the root url

From Dev

How to remove all toggle except for one?

From Dev

Remove all keys except one from JSONObject

From Dev

Remove all fields except some

From Dev

Remove all lines except D

From Dev

phonegap remove all permission except INTERNET

From Dev

NSPopupButton remove all the items except one

From Dev

Remove all files/directories except for one file

From Dev

debian: permission denied for all users except of root

From Dev

Javascript regex to remove all punctuation except "." and "?"

From Dev

jquery on event remove all tags except span

From Dev

Remove all files, except for two

From Dev

redirect all pages except root

From Dev

How to delete all desktop environments except Unity?

From Dev

remove cached (conda) environments in vscode for python

From Dev

Installing packages in conda environments fails when conda attempts to uninstall a root package

From Dev

Require Jupyter Password across all Conda Environments

Related Related

HotTag

Archive