Error when installing package Microsoft.Spark --version 1.0.0
- Dominant language
- C#
- Stars
- 2.1k
- Forks
- 332
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 9
Description
Problem encountered on https://dotnet.microsoft.com/en-us/learn/data/spark-tutorial/create
Operating System: windows
Hi,
I followed the tutorial carefully.
I even retried from the beginning multiple times.
Still, whenever I run this command:
_dotnet add package Microsoft.Spark --version 1.0.0_
**I get the following error:**
C:\Users\rolevin\Repositories\RemoteGit\Development\Workspaces\Dynamics365\CRM.OnlineServices.EmailInsights-abWkW_synapse_branch\src\WhoKnowsWhom\PysparkProjects\sparkApp>dotnet add package Microsoft.Spark --version 1.0.0
Determining projects to restore...
Writing C:\Users\rolevin\AppData\Local\Temp\tmp9B9F.tmp
info : Adding PackageReference for package 'Microsoft.Spark' into project 'C:\Users\rolevin\Repositories\RemoteGit\Development\Workspaces\Dynamics365\CRM.OnlineServices.EmailInsights-abWkW_synapse_branch\src\WhoKnowsWhom\PysparkProjects\sparkApp\sparkApp.csproj'.
info : Restoring packages for C:\Users\rolevin\Repositories\RemoteGit\Development\Workspaces\Dynamics365\CRM.OnlineServices.EmailInsights-abWkW_synapse_branch\src\WhoKnowsWhom\PysparkProjects\sparkApp\sparkApp.csproj...
error: Unable to load the service index for source https://dynamicscrm.pkgs.visualstudio.com/_packaging/SalesInsights/nuget/v3/index.json.
error: Only the 'http', 'socks4', 'socks4a' and 'socks5' schemes are allowed for proxies.
Usage: NuGet.CommandLine.XPlat.dll package add [options]
Options:
-h|--help Show help information
--force-english-output Forces the application to run using an invariant, English-based culture.
--package Id of the package to be added.
--version Version of the package to be added.
-d|--dg-file Path to the dependency graph file to be used to restore preview and compatibility check.
-p|--project Path to the project file.
-f|--framework Frameworks for which the package reference should be added.
-n|--no-restore Do not perform restore preview and compatibility check. The added package reference will be unconditional.
-s|--source Specifies NuGet package sources to use during the restore.
--package-directory Directory to restore packages in.
--interactive Allow the command to block and require manual action for operations like authentication.
--prerelease Allows prerelease packages to be installed.
Contributor guide
Assessment
This issue has not been assessed yet.