I would like to install previous version of Python extension for VSCode (ms-python.python) to troubleshoot something, but when I am trying to use context menu with "Install another version..." I just have an error "server returned 404"
Asked
Active
Viewed 1.8k times
4 Answers
12
You need to install it from a .vsix
file. You can find them here.
Download the .vsix
file of the version you want. You may have to click assets
to see them.
Then open VSCode, go to extensions
-> click on the three dots -> install from vsix
and select your file.
To install the .vsix
you can also use the command
code --install-extension ms-python-release.vsix
sources :
- How can I install Visual Studio Code extensions offline?
- https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix

Lwi
- 354
- 4
- 10
-
1Thanks! I am pleasantly surprised by how straightforward that was! – Magnus Sep 26 '20 at 19:27
-
1Thanks for explaining. Unfortunately your "download" link only points to release history with source code download. Any hint where I find the vsix file of an older version? – Georg W. Mar 03 '23 at 14:12
-
@GeorgW. You can find some .vsix files for the extension [here](https://marketplace.visualstudio.com/items?itemName=ms-python.python) but I'm not sure where to find them for older versions since they are no longer in the github releases. Rahul Chavan's answer might help you. – Lwi Mar 04 '23 at 20:20
-
1I found the solution [here](https://github.com/microsoft/vscode-python/discussions/20184): You can modify the URI template `https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-python/vsextensions/python/{version}/vspackage` by replacing `{version}` with the version you want to download, e.g. `https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-python/vsextensions/python/2022.16.1/vspackage` for 2022.16.1. – Georg W. Mar 06 '23 at 08:14
-
That is true. The version history can be found on this page https://github.com/microsoft/vscode-python/releases this way you know which version to chose from. – Lwi Mar 07 '23 at 19:53
6
This can be done using "Install Another Version" option available with VS Code extension store.

Rahul Chavan
- 117
- 1
- 7
2
The 404 issue is a bug in the VS Code marketplace. They are actively working to fix the problem.

Brett Cannon
- 14,438
- 3
- 45
- 40