Skip to content

VSC Not Detecting Python Through .py Extension #25699

Description

I'm a beginner who's trying to learn Python with an exercise book. I have Python installed on my computer and the Python, Pylance, Debugger and Environments extensions on VSC.

VSC won't detect Python. When I open a new file in the folder, it doesn't detect Python after I add the ".py" extension. It's reading it as Plain Text. I tried switching the language to Python but it doesn't show up in the list.

I also have the Python interpreter set to the Python file on my machine. I have the correct Path in my environmental variables. Any help would be appreciated. Ty

Image
Image
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalitytriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions