7

I have just started to get into programming and needed some help. My issue started when I would open up my VScode on my Mac and my python interpreter version would not show up in the status bar. I've asked a similar question: Python Interpreter Version not showing in status bar of VS code on Mac

I looked more into it (https://www.youtube.com/watch?v=veJvQ88ULOM&t=193s) and found that I maybe needed to give it a path so I was looking how to set that by going to code/preference/settings/ then clicking the Open settings JSON (top right icon) to put python.pythonPath: "/opt/homebrew/opt/[email protected]/bin/python3.9" in the curly braces to make it work but my VS code won't even recognize python.pythonPath.

Any help is much appreciated!

1 Answer 1

3

python.pythonPath has been deprecated.
python.defaultInterpreterPath is what you want to set.
See VS Code's documentation on using python environments for details.

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

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.