Help Center> ModelArts> FAQs> Notebook (New Version)> VS Code> What Do I Do If Installing a Remote Plug-in Failed?
Updated on 2023-11-22 GMT+08:00

What Do I Do If Installing a Remote Plug-in Failed?

Method 1 (recommended): Using an offline package

  1. Log in at the official VS Code website and search for the target Python plug-in.
  2. 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
  3. In local VS Code, drag the downloaded VSIX file to the remote notebook.
  4. 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",

VS Code FAQs

more