I was trying to create an Anaconda environment from Pycharm, but while I was experimenting different paths, one of the environments was created with no name. like the following:
base * /Applications/anaconda3 snowflaks /Users/usr/.conda/envs/snowflaks /Users/usr/anaconda3/envs/snowflaks
I wanted to delete the environment with an empty name but could not figure out a way. I tried using "\ " to make the name empty but it didn't work. Also, there is no envs folder inside anaconda3 (which is probably why this happened?), so I can't just delete it as well.
Any suggestions?
Thanks!
I was able to solve a similar situation by removing it using the prefix rather than the name.
I.E. conda env remove -p /Users/usr/anaconda3/envs/snowflaks
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With