dotnet / dotnet/machinelearning-modelbuilder

ml.net installation isssue

Offen
#2,939 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
GS Tutorial
Vorherrschende Sprache
Dockerfile
Sterne
285
Forks
66
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**System Information:**
- CLI Version: ubuntu 22.04 linux

**Describe the bug**
- first installation

**To Reproduce**
Steps to reproduce the behavior:
run below command on cli in linux
dotnet tool install -g mlnet-linux-x64

**Expected behavior**
~$ dotnet tool install -g mlnet-linux-x64
/tmp/77a101f6-eed5-4f71-b45e-6a8329d761c0/restore.csproj : error NU1202: Package mlnet-linux-x64 16.18.2 is not compatible with net6.0 (.NETCoreApp,Version=v6.0) / any. Package mlnet-linux-x64 16.18.2 supports: net8.0 (.NETCoreApp,Version=v8.0) / any
The tool package could not be restored.
Tool 'mlnet-linux-x64' failed to install. This failure may have been caused by:

* You are attempting to install a preview release and did not use the --version option to specify the version.
* A package by this name was found, but it was not a .NET tool.
* The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
* You mistyped the name of the tool.

For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Reproduziere den gemeldeten Befehl `dotnet tool install -g mlnet-linux-x64` unter Ubuntu 22.04 und untersuche die NU1202-Wiederherstellungsausgabe, die zeigt, dass die Paketversion 16.18.2 net8.0 erfordert, während die Wiederherstellung auf net6.0 abzielt. Als erledigt gilt die dokumentierte Erstinstallationsroute, wenn sie für die gemeldete Umgebung erfolgreich ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
cli, tooling
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.