Run Python File: Long delay before command line appears in terminal after terminal window opens #26003
Unanswered
Jeffrey-deng
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
who can help me?
It took a long time to run my code when I pressed the "Run Python File" button. This problem applies to every Python file I try to execute (no matter how long the file is or where the file is in). The time that the terminal is opened and the execution time itself is the same as before, but it takes a few seconds until the one-line command (path of python intepreter) "(path of python file)" appears after the terminal window appears.
When I open VSCode, the speed at which it automatically opens a terminal with the venv activated is normal,But when I manually start a new terminal, it also takes a few seconds before executing the environment activation command, the status bar's "[Activating venv environment]" is spinning.
The version a few months ago was fine.
When I disable
terminal.integrated.shellIntegration.enabled, the speed is normal.Beta Was this translation helpful? Give feedback.
All reactions