Alexander
Alexander

Reputation: 407

How to install previous version of Python extension for VSCode

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"

Upvotes: 9

Views: 29473

Answers (4)

e-budur
e-budur

Reputation: 11

UI now supports "Install another version" option in VS Code version 1.76.0.

VS Code Extensions - Install another Version

Upvotes: 1

Rahul Chavan
Rahul Chavan

Reputation: 135

This can be done using "Install Another Version" option available with VS Code extension store.

  1. Go to extensions.
  2. Click on Gear Icon for the installed extension
  3. Click on Install Another Version
  4. And select the version you wish to install Select Version Option

Upvotes: 7

Brett Cannon
Brett Cannon

Reputation: 16110

The 404 issue is a bug in the VS Code marketplace. They are actively working to fix the problem.

Upvotes: 2

Lwi
Lwi

Reputation: 409

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

How to install from vsix

sources :
- How can I install Visual Studio Code extensions offline?
- https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix

Upvotes: 15

Related Questions