dotnet / dotnet/machinelearning-modelbuilder

ML.net fail to run on Mac Apple M2 Pro x64

Offen
#2,972 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 (please complete the following information):**
- Model Builder or CLI Version: ML.net 16.18.2
- Visual Studio Version (if applicable):

**Describe the bug**
- On which page of the tutorial did you run into an issue (URL): https://dotnet.microsoft.com/en-us/learn/ml-dotnet/get-started-tutorial/install
- Clear description of the problem: i get an error saying mlnet-osx-x64 assembly could not be loaded.

**$mlnet**
Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'mlnet-osx-x64, Version=16.18.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
[1] 8066 abort mlnet

**To Reproduce**
Steps to reproduce the behavior:
1. Go to the tutorial for Mac OS: https://dotnet.microsoft.com/en-us/learn/ml-dotnet/get-started-tutorial/install
2. Follow the instruction and choose to install for x64
_$dotnet tool install -g mlnet-osx-x64_
3. You should get a success response after installation
5. Close the terminal and reopen it again
6. try and run mlnet by tying "mlnet" in the terminal

I get this error

> Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'mlnet-osx-x64, Version=16.18.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
> [1] 8066 abort mlnet

**Expected behavior**
No error

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
First time using dotnet tool on this new macbook

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit dem verlinkten ML.NET-Installationstutorial und reproduziere das Problem auf einem Apple M2 Pro mit `dotnet tool install -g mlnet-osx-x64`, führe anschließend `mlnet` aus. Erledigt ist die Aufgabe, wenn das Tool ohne die gemeldete FileLoadException startet und die Installationsanweisungen oder das Paketverhalten die angegebene Mac-Architektur korrekt unterstützen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
machine-learning, macos
Bereich
cli, machine-learning, operating-systems
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

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