0

When trying to install the Python extension I get the following error:

Error while installing 'Python' extension. Please check the [log](command:workbench.action.showWindowLog) for more details.

The log says this...

[error] end of central directory record signature not found,end of central directory record signature not found: Error: end of central directory record signature not found,end of central directory record signature not found

I have tried to install manually and get the error in the image.

Not sure what to try next

wjandrea
  • 28,235
  • 9
  • 60
  • 81
  • 1
    Have you tried googling the error? I found these that might be useful: VSCode issue [34730](//github.com/microsoft/vscode/issues/34730), VSCode Python issues [17491](//github.com/microsoft/vscode-python/issues/17491) and [17062](//github.com/microsoft/vscode-python/issues/17062); SO: [can't install python extension in vscode](//stackoverflow.com/q/73492693), [Error "end of central directory record signature not found" while installing ionide-fsharp in vscode](//stackoverflow.com/q/41530269). Although, when you say "install manually", you mean from VSIX? Some of these links do talk about that. – wjandrea May 03 '23 at 23:52
  • BTW, welcome to Stack Overflow! Check out the [tour], and [ask] if you want tips. – wjandrea May 04 '23 at 01:03
  • possible workaround: https://github.com/microsoft/vscode/issues/34730#issuecomment-333437277. possibly related: https://github.com/microsoft/vscode/issues/131232 – starball May 04 '23 at 01:28
  • What version of vscode are you using? Have you tried using the latest version – MingJie-MSFT May 04 '23 at 01:51
  • Yes, I have tried to install from VSIX and get the error Command 'Extensions: Install form VSIX' resulted in an error end of central directory record signature not found. I am using v1.77.3 and have tried most all of those links with no luck. – Eddie Bickel May 04 '23 at 15:56
  • I was finally able to resolve it using the CLI method mentioned here https://stackoverflow.com/questions/42017617/how-to-install-vs-code-extension-manually/50232194#50232194 – Eddie Bickel May 04 '23 at 16:17

0 Answers0