remove cached (conda) environments in vscode for python

Vscode freezes when I try to run Python: Select Interpreted The selection pane opens and lists my conda environments preceded by (cached). However, I cannot select an interpreter and the vscode freezes completely.

Some of the environments shown are not even on my machine anymore. I suspect that deleting that cache might help.

1 Answer

Within vscode, go to help > toggle developer tools > application > local storage. Filter local storage by interpreters. Cache seems to be stored there. Items can be deleted. Restart vscode.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like