dotnet / dotnet/machinelearning-modelbuilder

Executing mlnet can't locate dotnet

Open
#2,802 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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:
  • Visual Studio Version (if applicable): N/A

Describe the bug

  • On which page of the tutorial did you run into an issue (URL): ML.NET Tutorial - Get started in 10 minutes
  • Clear description of the problem: Running mlnet at the command line returns:

You must install .NET to run this application.

App: /home/dhild/.dotnet/tools/mlnet
Architecture: x64
App host version: 8.0.0
.NET location: Not found

When I run 'which dotnet' I get '/usr/bin/dotnet', so both this and the reporting of the App host version says that .NET is properly installed.
To Reproduce
Steps to reproduce the behavior:

  1. Go to bash console
  2. Enter 'mlnet classification --dataset "yelp_labelled.txt" --label-col 1 --has-header false --name SentimentModel --train-time 60'
  3. See error

Expected behavior
Shown in Progress at https://dotnet.microsoft.com/en-us/learn/ml-dotnet/get-started-tutorial/train

Screenshots
N/A

Additional context
None

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported command in a bash console with the tutorial's yelp_labelled.txt dataset, then compare the result with the expected progress shown in the linked ML.NET tutorial. The issue names no source file or test; done means mlnet can locate the installed .NET runtime and run the classification command successfully.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.