2

I am working with a YouTube instruction video and there person on the video has search the json settings files with "python.p" and python.python.path line comes up that he uses to set the default to a version of Python, but in my version of "json settings" I do not fine this choice. What would I search for in the latest version of json settings to be able to select this path for python?

1
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Commented Feb 23, 2022 at 2:26

2 Answers 2

3

Steps are:

  1. Click on settings icon present at bottom left of vscode screen
    enter image description here

  2. In the top right of screen, you should see Open Settings (JSON) option enter image description here

  3. In the next screen, within double quotes start typing python.p, you should start seeing all the suggestions & options available enter image description here

Sign up to request clarification or add additional context in comments.

Comments

2

its a problem of vscode version, newer releases indicate python.pythonPath is being deprecated in favor of python.defaultInterpreterPath. So if you try to set your variable "python.defaultInterpreterPath" to point to your desired interpreter, this will solve your problem.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.