title: How to add python interpreter to Visual Studio Code?
body: <p>I am trying to add the python interpreter to VSCode as it shows an error. <a href="https://i.stack.imgur.com/hBBb1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hBBb1.png" alt="Error given" /></a></p>
  <p>Every time I click on this error message to add the interpreter it will show me which interpreters I can select. When I select one of these nothing happens and the same error still shows.<a href="https://i.stack.imgur.com/YzfVx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YzfVx.png" alt="Selection of interpreter" /></a></p>
  <p>I have tried uninstalling and reinstalling both VSCode and python 3.10 also tried python 3.9 but neither works.</p>