5

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/python@3.9/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!

greenforest
  • 223
  • 1
  • 2
  • 7

1 Answers1

2

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

Mark Spiezio
  • 415
  • 3
  • 6