I have a warning message ‘Select Interpreter’ for python in VS code
what I need to do and how?
(all the python files run successfully)
- Click F1 in VS code.
- In the search type in: “Python: Select Interpreter”
- Select the one you want (usually the venv you are planing to work with)
Ugh. No clue . I’m trying to figure out things myself as well…
Hi,
Since all python files run successfully, there must be a python interpreter (= python.exe
) somewhere on your system. You could choose that interpreter.
Best practice though is to use virtual environment (venv
), which basically is an empty clone of the main interpreter you have installed in your system. Usually you have 1 venv got each VSCode project. That way dependencies of different projects don’t influence each other.
The “Getting Started” section of the official guides for Robot Framework should help you setting everything up:
Regards
Markus
3 Likes