Question: 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"

Answer: 
You need to install it from a `.vsix` file. You can find them [here](https://github.com/Microsoft/vscode-python/releases).  

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 

```sh
code --install-extension ms-python-release.vsix

```

[![How to install from vsix](https://i.stack.imgur.com/Fcovw.png)](https://i.stack.imgur.com/Fcovw.png)

sources :  

- [How can I install Visual Studio Code extensions offline?](https://stackoverflow.com/questions/37071388/how-can-i-install-visual-studio-code-extensions-offline)  

- <https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix>
The 404 issue is a [bug in the VS Code marketplace](https://github.com/microsoft/vscode/issues/99699). They are actively working to fix the problem.