I had this issue and resolved it by uninstalling the Microsoft-supported(!) Python Environments extension. Take a look at its dismal reviews: https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-python-envs&ssr=false#review-details