-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install extension from .VSIX in environment without internet connectivity #2601
Comments
This happens because the extension is trying to install the |
@jonsequitur So just for my own clarification so I can understand, the "dotnet-interactive tool" is something separate from this, the (formerly-known-as) dotnet interactive extension? |
@BobPusateri when the extension first launches it looks for a local As for doing a complete setup/install in an offline environment, that's not something we currently support, but is interesting, nonetheless, and I'll do some thinking on exactly how to do that. |
You can read a bit more about this here: https://github.com/dotnet/interactive/blob/main/docs/FAQ.md |
@brettfo @jonsequitur Thank you very much for the helpful explanation! I didn't realize that tool existed or was the root of the issue. I will try to figure out a workaround, but as you plan future work I think there would be value in the ability to do a fully-offline install. |
One possible workaround (which I haven't tried) is to use a user-level nuget.config pointing to an internally-accessible NuGet feed, which can be just a folder on the local machine or on a network volume. The Polyglot Notebooks extension should then be able to transparently resolve the package if it's present there. The package it needs is this one: https://www.nuget.org/packages/Microsoft.dotnet-interactive |
Describe the bug
I am trying to utilize Polyglot Notebooks in an environment which does not have internet access - so I'm trying to do an offline install. I've downloaded the latest Polyglot Notebooks .VSIX file and am trying to install it in VS Code Insiders. The initial error is that the Jupyter extension is not installed, but after adding that (which seems to complete without issue) the Polyglot Notebooks extension seems to hang while installing and never completes. It appears that it's trying to connect to the outside internet at
pkgs.dev.azure.com
even though this environment has no internet connectivity.I searched for similar issues, but would like to point out that this is a different problem than issue #1458 because that seems to concern versions of VS Code, whereas I'm already using the insiders build.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the
#!about
magic command. ): 1.0.3627021Screenshots
I'm including the console output while trying to install this extension, as well as a screenshot of what shows in VS Code while it's installing.
PolyglotInstallConsole.txt
The text was updated successfully, but these errors were encountered: