dotnet / machinelearning-samples

Samples for ML.NET, an open source and cross-platform machine learning framework for .NET.
https://dot.net/ml
MIT License
4.42k stars 2.66k forks source link

MLNet app not accessible post installation in MacOS High Sierra #446

Open sundarsrd opened 5 years ago

sundarsrd commented 5 years ago

Problem encountered on https://dotnet.microsoft.com/learn/machinelearning-ai/ml-dotnet-get-started-tutorial/install Operating System: macos

Context: Installation of MLNet in mac os 'high sierra' following the tutorial instructions Problem: mlnet app is created but is not executable and available in the path Solution:

1. Give mlnet executable permissions - chmod 755 $HOME/.dotnet/tools
2. Add mlnet to the path - add mlnet to path (export PATH=$PATH:~/.dotnet/tools) in .bash_profile / .zshrc or add an alias
dshelby commented 5 years ago

I have ran into this same issue. I am using the zsh shell and I had to edit my ~/.zshrc file to include the above path. This should be included in the ML.NET tutorial or a solution provided in the installer.

joyfinder commented 2 years ago

@sundarsrd Thanks for sharing the solution. It works for me!! It took me hours to figure it out, after looking for other people solutions, none of them were applied but only yours. I strongly agreed that the solution should be included in the tutorial.