dotnet / dotnet/machinelearning-modelbuilder

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

Open
#2,972 1 comment 0 reactions 0 assignees View on GitHub
GS Tutorial
Dominant language
Dockerfile
Stars
285
Forks
66
PR merge metrics
No merged PRs in 30d

Description

**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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.