🌐
Reddit
reddit.com › r/vscode › python extension slow to load
r/vscode on Reddit: Python extension slow to load
December 2, 2020 -

Recently updated my laptop, and after installing VS Code and Python on the new machine, I've noticed that the Python extension takes forever to load any time VS Code is (re)started. I haven't timed it exactly, but probably at least a minute or more, just to load an extension on a 'gaming' laptop with oodles (technical term!) of RAM, disk space, and processor power to spare.

Nothing particularly exotic as far as extensions loaded - Python (obviously), Pylance, Jupyter, Remote - WSL, Vim, Visual Studio Intellicode and vs-code icons. Even with everything disabled but Python, Pylance and Jupyter, it doesn't change - and the extension very obviously holding things up is the Python one.

Nothing too exotic about the Python install... vanilla 3.8.6, from python.org, using virtualenvs for development. Even with the base install, and nothing much beyond pylint, black and virtualenvwrapper-win installed via pip... this seems really, really, really odd.

Any ideas?

🌐
Reddit
reddit.com › r/learnpython › why is python (and vscode's terminal) unbelievably slower than doing so directly from cm? this is not a problem on mac for some reason too
r/learnpython on Reddit: Why is python (and vscode's terminal) unbelievably slower than doing so directly from cm? This is not a problem on mac for some reason too
July 4, 2024 -

More particularly, python is only excruciatingly slow when ran in vscode's terminal for some reason, also vscode's terminal boots up very slowly too, but when python code is ran with
python main.py

it only takes a fraction of a second to finish the code. Also worth mentioning is that on mac, vscode terminal is completely normal and quick

For context: hello world takes around 5 seconds on my machine to execute, but takes a fraction of a second when ran directly from cmd, not vscode

Why is this happening? Is it possible to optimise vscode for faster python running time?

🌐
Reddit
reddit.com › r › vscode › comments › k4zmnk
r/vscode - Python extension slow to load
December 2, 2020 -

Recently updated my laptop, and after installing VS Code and Python on the new machine, I've noticed that the Python extension takes forever to load any time VS Code is (re)started. I haven't timed it exactly, but probably at least a minute or more, just to load an extension on a 'gaming' laptop with oodles (technical term!) of RAM, disk space, and processor power to spare.

Nothing particularly exotic as far as extensions loaded - Python (obviously), Pylance, Jupyter, Remote - WSL, Vim, Visual Studio Intellicode and vs-code icons. Even with everything disabled but Python, Pylance and Jupyter, it doesn't change - and the extension very obviously holding things up is the Python one.

Nothing too exotic about the Python install... vanilla 3.8.6, from python.org, using virtualenvs for development. Even with the base install, and nothing much beyond pylint, black and virtualenvwrapper-win installed via pip... this seems really, really, really odd.

Any ideas?

🌐
Reddit
reddit.com › r/vscode › running python code takes forever
r/vscode on Reddit: Running python code takes forever
October 4, 2024 -

I was just doing my stuff in vsc and at some point running my python scripts started taking whole 3 seconds for no reason, it was always instant to run, but now there is that delay that shouldn't be a thing. I'm not using any antiviruses or extensions, I can't see why did that problem occur out of nowhere, anyone has any ideas?

🌐
Reddit
reddit.com › r/vscode › python extension loading... forever
r/vscode on Reddit: Python extension loading... forever
September 16, 2021 -

FIX: I fixed it! turns out i didn't completely remove vscode from my pc, so i deleted the config and cache folders and reinstalled vscode and it works perfectly now! still curious as to what the hell caused it...

at the bottom left of vscode it keeps saying "Python extension loading" and it never finishes, i tried reinstalling all the extensions, updating vscode, rebooting the system, and disabling the other extensions one by one, but to no avail.

it was working fine before, any help would be appreciated!

EDIT: im using linux (kubuntu 20.04) and i can't do anything python related (run scripts, formatters not working...etc)

🌐
GitHub
github.com › microsoft › vscode-python › issues › 16026
"Python extension loading..." message lasts forever · Issue #16026 · microsoft/vscode-python
April 23, 2021 - I searched for this error and it was solved with newer version of the Python extension. Though, I have the newest versions installed and still have this problem. Environment data VS Code version: 1.55.2 Extension version (available under...
Author   brkbrc
🌐
Medium
medium.com › @don.jayamanne › improving-performance-of-python-extension-for-vs-code-with-webpack-8e4469533f09
Improving load times and performance of Python Extension for VS Code with WebPack | by Don Thilaka Jayamanne | Medium
December 3, 2018 - Since the September/October release of VS Code, a number of issues were filed on our GitHub repo with complaints about the Python extension slowing down VS Code, more specifically users would file issues with the following information: ... Within a few days we realized we had a problem on our hands. To understand how one extension would slow down VS Code, one needs to realize the fact that all extensions in VS Code are loaded into the same process.
🌐
GitHub
github.com › microsoft › vscode-python › issues › 14639
"Python extension loading" super slow · Issue #14639 · microsoft/vscode-python
November 10, 2020 - ... Python version (& distribution if applicable, e.g. Anaconda): XXX · Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv ... console.ts:137 [Extension Host] (node:17707) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues.
Author   jacquespeeters
Find elsewhere
🌐
GitHub
github.com › microsoft › vscode-python › issues › 15265
Python extension very slow to load · Issue #15265 · microsoft/vscode-python
January 29, 2021 - Additionally, the whole system slows down during this process. I even opened another instance of VS Code while editing this issue, and while these VS Code extensions were loading I came back to edit this issue post and I typed out the next sentence and got a whole sentence ahead while on the screen one l...e...t...t...e...r e...v...e...r...y f...e...w s...e...c...o...n...d...s appeared on the screen many seconds after I had finished typing. As soon as the Python extension finished loading, all of the text instantly appeared on the screen.
Author   clayms
🌐
Reddit
reddit.com › r/vscode › issues loading python extension
r/vscode on Reddit: Issues Loading Python Extension
September 2, 2020 -

I'm starting to mess around with python again in my free time and I'm having issues with the python extension. I only have 3 extensions installed. C#, PowerShell, & Python. All from Microsoft. I've uninstalled/reinstalled VS Code. I'm running 3.8.5 python.

When I try to add python (control + shift + p) it spins at loading the extension and comes back with reload, wait, or cancel. If you hit wait afew times, it will eventually load the python extension. The machine is an i7 4xxx, 32 gb of ram, ssd, ect.... I'm seeing no CPU, RAM, or Disk spikes during this time.

Has anyone seen anything like this before? Is there anything in the event viewer log that would help?

*** EDIT ***
I also tried it with the other extensions disabled.

🌐
Reddit
reddit.com › r/vscode › vscode running super slow suddenly
r/vscode on Reddit: VSCode running super slow suddenly
January 20, 2020 -

So Basically ive had Vscode installed for a long time but recently it started running really slow.

here are some of the problems ive been having:

  • Every time i open a file it takes like over 10 seconds for it to open in vscode.

  • When i launch vscode, it shows up invisible then after 30 seconds i see the actual app.

  • When i look at extensions the details for them take 30 seconds to load in.

ive tried:

  • completley uninstalling and reinstalling vscode.

  • deleting all extensions.

  • restarting pc.

  • nothing is working.

extensions installed:

  • VSCode Discord RPC

  • Visual Studio IntelliCode

  • Python

  • Material Icon Theme

  • Material Theme

  • Java Extension Pack which includes:

  1. Language Support for Java by red hat

  2. Debbugger for Java

  3. Java test runner

  4. Maven for java

  5. Java dependecy viewer

🌐
GitHub
github.com › microsoft › vscode › issues › 171356
VScode extremely slow with Pylance and Python · Issue #171356 · microsoft/vscode
January 15, 2023 - *caused-by-extensionIssue identified to be caused by an extensionIssue identified to be caused by an extension ... The last few days it takes more time for long operations such as, getSemanticTokens full / delta, checking and analyzing the python ...
Author   Apisteftos
🌐
GitHub
github.com › microsoft › vscode-python › issues › 3967
"Python extension loading..." message last forever · Issue #3967 · microsoft/vscode-python
January 12, 2019 - [ms-python.python]: Command `python.datascience.exportoutputasnotebook` appears multiple times in the `commands` section. extensionHost.ts:329 [Extension Host] debugger listening on port 8949 log.ts:157 INFO no standard startup: not a new window extensionHost.ts:235 Extension Host extensionHost.ts:236 Debugger listening on ws://127.0.0.1:8949/244405a2-1785-4902-bede-aca2f889a5da For help see https://nodejs.org/en/docs/inspector console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: Notify locators
Author   PROFeNoM