[英]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"我想为 VSCode (ms-python.python) 安装以前版本的 Python 扩展来解决某些问题,但是当我尝试使用带有“安装另一个版本...”的上下文菜单时,我只是有一个错误“服务器返回 404 "
You need to install it from a .vsix
file.您需要从.vsix
文件安装它。 You can find them here .你可以在这里找到它们。
Download the .vsix
file of the version you want.下载所需版本的.vsix
文件。 You may have to click assets
to see them.您可能必须单击assets
才能看到它们。
Then open VSCode, go to extensions
-> click on the three dots -> install from vsix
and select your file.然后打开VSCode,go到extensions
->点击三个点-> install from vsix
你的文件。
To install the .vsix
you can also use the command要安装.vsix
,您还可以使用命令
code --install-extension ms-python-release.vsix
sources:来源:
- How can I install Visual Studio Code extensions offline? - 如何离线安装 Visual Studio Code 扩展?
- https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix - https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix
This can be done using "Install Another Version" option available with VS Code extension store.这可以使用 VS Code 扩展商店提供的“安装另一个版本”选项来完成。
The 404 issue is a bug in the VS Code marketplace . 404 问题是VS Code 市场中的一个错误。 They are actively working to fix the problem.他们正在积极努力解决问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.