#๐Ÿ”’ problem with vs code python

34 messages ยท Page 1 of 1 (latest)

blazing temple
#

i use vs code like 3+ months, but yesterday, my vs code(python) runs really slow when i press bind button or run button at top right, ill drop video below.
I tried:
adding "terminal.integrated.shellIntegration.enabled": false
adding(there are already was it) "terminal.integrated.defaultProfile.windows": "Command Prompt",
restarting vs code multiple time
reinstalling python extension
restarting pc
but that didnt helped

mighty elmBOT
#

@blazing temple

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

blazing temple
cobalt bobcat
blazing temple
cobalt bobcat
#

Its normal

obtuse geyser
#

delwte the pycache folder and let it remake it

blazing temple
blazing temple
obtuse geyser
#

well then perhaps you made a change to your sceipt latley?

cobalt bobcat
cobalt bobcat
blazing temple
obtuse geyser
#

meh.. you could try making a virtual env.. could be a corrupt package or something else installed

blazing temple
obtuse geyser
#

fresh pc reboot?

blazing temple
#

fine, ill try one more time, will back in 2-3mins

obtuse geyser
#

just saying.. mine kind flips out doing 100k snmp requests everyday.. eventually I think it runs out of ports and I gotta restart it

blazing temple
#

still slow, i dont make a lot of requests

spring trail
#

That does seem bizarrely slow. Have you tried running code in a terminal to see if your disk is just slow?

#

And what does Task Manager show in terms of resource usage?

blazing temple
spring trail
#

Ah, missed that.

blazing temple
spring trail
#

What run configuration do you have setup to run when you click the run button?

blazing temple
#

like bind button? sorry, i dont know where is configuration, i can show my settings.json file?

spring trail
#

I'll be honest, I don't use VSCode, so I'm just spit balling potential debugging steps. If this were happening to me in Pycharm, I'd probably check my run configurations to make sure I didn't accidentally set them up weird. I'm not sure what VSCode's equivalent is though

blazing temple
#

there is everything okay, probably, ill downgrade my vs code, already doing that, thanks anyway

#

SOLUTION

downgrading to old version of vs code

#

!close

mighty elmBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.