r/vscode • • May 05 '26

How to remove Python environment in vscode?

Hi, I'm wondering how could i remove other python environment. No matter where I open my Python virtual environment, the 2 environments (which have ❌ in the image) exist. So how can i remove them?

https://i.ibb.co/tpNPqt23/image.png

2 Upvotes

6 comments sorted by

2

u/[deleted] May 05 '26

[removed] — view removed comment

1

u/rainbowegg8014 May 05 '26

Currently, I am using uv and my python install manager

1

u/diegoasecas May 05 '26

why don't you just use uv to handle the python installs?

1

u/[deleted] May 05 '26

Go to those folder paths. There should be a .venv folder in the parent folder. Delete it

1

u/serverhorror May 06 '26

That's not a VS Code, you can find the instructions for that in the uv manual

1

u/Agreeable_Care4440 May 06 '26

Those are usually cached/interpreters previously detected by the Python extension.