5

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 it manually and I get that error.

6

3 Answers 3

5

After looking at most of the posts on the internet about it, I found out the solution:

C:\Program Files\Microsoft VS Code\bin> .\code --install-extension "C:\Pathto\extensions\ms-python.python-2023.23.13521007.vsix"

Microsoft Reference

Sign up to request clarification or add additional context in comments.

Comments

2

I had the same error and discovered that this error was caused by version incompatibility.

Download directly from this link and install manually.

https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-python/vsextensions/python/2023.14.0/vspackage

If it doesn't work, it's because this isn't the right version, so try other versions.

Comments

0

There is a More Action icon near install button, just click on it and install the Pre-Release Version, and then update it.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.