Is there a way to fix Python Interpreter error in VSCode?

Question:

Has anybody seen this error while trying to to choose the python interpreter in VSCode?
enter image description here

I immediately get an error when trying to find an appropriate interpreter. Is there any way around this problem? I have tried uninstalling and reinstalling both VSCode and Python but nothing seems to work.

Thank you all in advance.

Asked By: Mahta

||

Answers:

Read the docs first.

Please ensure that python and python extensions are installed, and then select python interpreter(Ctrl+Shift+P then Python: Select Interpreter).

Answered By: MingJie-MSFT