**OS:** Mac (Pro) **Build Version:** 20220906.4 **Repro Steps:** 1. Create and open a Python project in VS Code. 2. F5. 3. Check whether no error occurs. **Expect:** No error occurs. **Actual:** An error occurs. <img width="777" alt="Screen Shot 2022-09-07 at 18 04 16" src="https://user-images.githubusercontent.com/57662131/188856388-daa5d936-610d-4061-b441-171cc07da408.png">