Error while installing 'Python' extension. Please check the log for more details

I’ve been having issues with the python syntax highlighting so I eventually decided to reinstall Cursor and see if that sorted it out.

After a fresh install, I am now unable to install the ms-python Python extension. I’m getting a popup saying the extension can’t be installed the following error in the “Window” panel when i click log.

I was able to duplicate this result on another machine.

2025-04-15 20:45:59.588 [error] net::ERR_CONNECTION_REFUSED: Error: net::ERR_CONNECTION_REFUSED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/utility_init:2:10511)
    at SimpleURLLoaderWrapper.emit (node:events:518:28) net::ERR_CONNECTION_REFUSED
2025-04-15 20:46:00.921 [error] net::ERR_CONNECTION_REFUSED: Error: net::ERR_CONNECTION_REFUSED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/utility_init:2:10511)
    at SimpleURLLoaderWrapper.emit (node:events:518:28) net::ERR_CONNECTION_REFUSED
2025-04-15 20:47:23.072 [error] [network] #33: null/Microsoft.VisualStudio.Code.Manifest?targetPlatform=universal - error GET Failed to fetch

2 Likes

I was able to replicate this on two macos machines, and a windows machine, on three different networks (work, home, phone). Firewalls are disabled on all machines.

I have been able to download the extensions via VSCode

facing same issue here.

2025-04-16 16:01:48.545 [error] net::ERR_CONNECTION_REFUSED: Error: net::ERR_CONNECTION_REFUSED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/utility_init:2:10511)
    at SimpleURLLoaderWrapper.emit (node:events:518:28) net::ERR_CONNECTION_REFUSED

What version of the python extension are you trying to install? Potentially related to Issues With Python Testing, where the 2025 versions of the python extensions are unable to install, due to the VSCode base version cursor is currently based on.

Any version to be honest. It does not appear that Cursor can connect to the download plugin download page.

Bump, same issue. I’ve been having trouble with this extension for months, but today i started getting the same failed to fetch error which makes it unable to install any version.

2025-04-17 22:06:29.408 [error] [network] #85: null/Microsoft.VisualStudio.Code.Manifest?targetPlatform=universal - error GET Failed to fetch
2025-04-17 22:06:29.409 [error] [network] #86: null/Microsoft.VisualStudio.Code.Manifest?targetPlatform=universal - error GET Failed to fetch
2025-04-17 22:06:29.410 [error] TypeError: Failed to fetch
    at MSo (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4857:41347)
    at vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4857:42467
    at hxi.c (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:650:75434)
    at hxi.request (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4857:42459)
    at ZUt.M (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:679:167)
    at async ZUt.getManifest (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:677:81028)
    at async uG.Cb (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4221:9367)
    at async uG.setInput (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4221:6358)
    at async $Ht.U (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:701:20023)
    at async $Ht.M (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:701:18574)
2025-04-17 22:06:32.373 [error] [remote-connection][ExtensionHost][01069…][reconnect][WebSocket(127.0.0.1:50510)] socketFactory.connect() failed or timed out. Error:
2025-04-17 22:06:32.373 [error] Error: Time limit reached
    at U0t.i (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4408:28489)
    at U0t.h (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4408:28471)
    at zae.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4408:28326)
    at M.B (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:748)
    at M.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:967)
    at Gae.cancel (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:5259)
    at zi.cancel (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:5673)
    at vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4408:27857
2025-04-17 22:06:32.373 [info] [remote-connection][ExtensionHost][01069…][reconnect] A network error occurred while trying to reconnect, will try again...
2025-04-17 22:06:32.373 [info] [remote-connection][ExtensionHost][01069…][reconnect] waiting for 5 seconds before reconnecting...
2025-04-17 22:06:37.376 [info] [remote-connection][ExtensionHost][01069…][reconnect] resolving connection...
2025-04-17 22:06:37.376 [info] [remote-connection][ExtensionHost][01069…][reconnect] connecting to WebSocket(127.0.0.1:50549)...
2025-04-17 22:06:37.376 [info] Creating a socket (renderer-ExtensionHost-01069f72-3d64-48d4-ab93-2d0a2503b6b2)...
2025-04-17 22:06:37.884 [info] Creating a socket (renderer-ExtensionHost-01069f72-3d64-48d4-ab93-2d0a2503b6b2) was successful after 507 ms.
2025-04-17 22:06:38.473 [info] [remote-connection][ExtensionHost][01069…][reconnect] reconnected!
2025-04-17 22:06:38.606 [info] Extension host (Remote) is responsive.

If anyone needs a quick fix, Python 2025.5.2025041001 VSIX (Latest Version) - VsixHub and drag and drop worked for me.