forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
VS Code gives error there is no interpreter selected #3326
Copy link
Copy link
Closed
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionality
Milestone
Description
Environment data
- VS Code version: XXX
- Extension version (available under the Extensions sidebar): XXX
- OS and version: XXX
- Python version (& distribution if applicable, e.g. Anaconda): XXX
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): XXX
- Relevant/affected Python packages and their versions: XXX
Actual behavior
Similar issue on macOS but instead it says "the default interpreter is invalid.
Expected behavior
VS Code selects a default python interpreter, or only does the second step
Steps to reproduce:
- mkdir newapp
- code .
- add hello.py
- open it
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
XXX
Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
XXX
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionality

