Visual studio code take long time to run the code

Zhen

Registered Member
Joined
Mar 22, 2024
Messages
70
Reaction score
22
Hello guys hope you're all good.
I just wanna know if is there anyone here have well knowledge about visual studio code settings?
I have the latest version and I didn't add any extensions or change anything on settings.
I just started learning python about 3 weeks ago, I installed python and start coding using visual studio code.
At first, everything was perfect, then the code runner suddenly start working slow.
At first, the code works as soon as I press the button, but now he takes between 5 and 10 seconds to lunch the code depending on the complexity of the code. This error is making me wanna turn off the program and stop learning every time he faced me .
 
Try running your python code directly in the terminal instead; just open it with Ctrl + backtick and use python filename.py. check your terminal settings in the preferences and disable any unused extensions. Make sure your Python interpreter is set correctly by using Ctrl + Shift + P and selecting Python: Select Interpreter. If none of that works consider reinstalling code Runner.
 
Try running your python code directly in the terminal instead; just open it with Ctrl + backtick and use python filename.py. check your terminal settings in the preferences and disable any unused extensions. Make sure your Python interpreter is set correctly by using Ctrl + Shift + P and selecting Python: Select Interpreter. If none of that works consider reinstalling code Runner.
I don't have any extensions, also I tried to run the code in the cmd and it takes long time too, what is that supposed to mean??
 
Uninstall the vs code and download another one, try also clean trash on your system, and switch off for some minutes.
Also make sure your network is good.
But try to run your script in the terminal.
 
I dont advise using that crap software. You really only need a text editor with an LSP. Then you can have it automatically build and run when you save the file with programs like entr.
 
Uninstall the vs code and download another one, try also clean trash on your system, and switch off for some minutes.
Also make sure your network is good.
But try to run your script in the terminal.
I already use terminal to run codes
 
Back
Top