What Do I Do If Installing a Remote Plug-in Failed?
Method 1 (recommended): Using an offline package
- Log in at the official VS Code website and search for the target Python plug-in.
- Click the Version History tab of the plug-in and download the offline installation package.
Figure 1 Offline installation package of the Python plug-in
- In local VS Code, drag the downloaded VSIX file to the remote notebook.
- Right-click the file and choose Install Extension VSIX from the shortcut menu.
Method 2: Setting the default remote plug-in
Set the default remote plug-in in VS Code by following the instructions provided in How Can I Set the Default Remote Plug-in in VS Code? This enables automatic plug-in installation when the plug-in is connected.
Method 3: Taking measures provided at official VS Code website
Tips (adjust parameter settings as needed):
"remote.SSH.connectTimeout": 10, "remote.SSH.maxReconnectionAttempts": null, "remote.downloadExtensionsLocally": true, "remote.SSH.useLocalServer": false, "remote.SSH.localServerDownload": "always",
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.