Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.py lines won't run in terminal #21406

Closed
illmattic-1 opened this issue Jun 8, 2023 · 2 comments
Closed

.py lines won't run in terminal #21406

illmattic-1 opened this issue Jun 8, 2023 · 2 comments
Assignees
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@illmattic-1
Copy link

Hello,

Not sure what happened. I was using python in vscode with no issues. Sometimes I use the python terminal, other times I use a jupyter interface window. But something happened in the middle of using it. I might have closed vscode and reopened it but i'm not sure cause it happened so fast but I do remember seeing the release notes for a new update. But anyways now individual lines can't be run from the editor. When i right click and try to run an individual line from my .py file it says it "....not recognized as an internal or external command, operable program or batch file." When I right click on the editor and run the complete file it works with no problem. And when the python terminal is open and i write python code inside of the terminal it works. But when I try to run individual lines from the .py file, it opens a new python terminal, even if one is already opened, and gives me the same not recognized command issue. The Jupyter interface window also works with no issue.

I'm using python 3.11.1 with a virtual environment. If I change environments I still get the same issue.

Thanks,
Matt

@karthiknadig karthiknadig removed their assignment Jun 12, 2023
@karthiknadig karthiknadig transferred this issue from microsoft/vscode Jun 12, 2023
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jun 12, 2023
@meganrogge
Copy link

related #21419

@anthonykim1
Copy link

Duplicate #21393

@anthonykim1 anthonykim1 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

4 participants