You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VS Code gives error there is no interpreter selected #3326
Activity
DonJayamanne commentedon Nov 14, 2018
Dan Taylor (@qubitron)
Are you testing this against the latest development version of the extension?
If not, please could you do so.
qubitron commentedon Nov 14, 2018
Yes, I still have the issue against the latest development version of the extension (2018.11.0-alpha), on a mac:
Create new file "hello.py"

Click the close button and then the interpreter shows:

DonJayamanne commentedon Nov 14, 2018
Ok, I think I know what we need to do.
When VS Code loads and displays this message we need two options:
python.pythonPathin the usersettings.jsonfilepython.pythonPathin the workspacesettings.jsonfileNext time VSC loads, user will not be prompted.
Dan Taylor (@qubitron)
Please could you try the following:
settings.jsonpython.pythonPathto point to a valid python executableDonJayamanne commentedon Nov 15, 2018
Changes:
Auto select `Python Interpreter` prior to validation of interpreters (#…