Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python.pythonPath saying "unknown configuration setting" on VS code on Macbook M1

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!

like image 240
greenforest Avatar asked Aug 11 '26 10:08

greenforest


1 Answers

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

like image 147
Mark Spiezio Avatar answered Aug 14 '26 10:08

Mark Spiezio



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!