How to Set Python Interpreter in Visual Studio Code

preview_player
Показать описание
How to Set Default Python Interpreter in VS Code:
- Open Visual Studio Code
-Click the extension button on your left
Type “Python”, and you will see the python extension on the top among the list of extensions, choose that.
- Click install, it should be enabled automatically, if not enable it.
Python Interpreter
The next thing we need to set up is the default Python interpreter. To do that first we need our Python path.
click Manage in the left bottom, then click command palette, then input Python Interpreter, select your python environment (you could use the which python ton confirm you python in your pc)
Рекомендации по теме