dotnet / machinelearning-modelbuilder

Simple UI tool to build custom machine learning models.
Creative Commons Attribution 4.0 International
260 stars 52 forks source link

ml.net installation isssue #2939

Open ahmadhasssann opened 3 weeks ago

ahmadhasssann commented 3 weeks ago

System Information:

Describe the bug

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:

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

ytchen2833 commented 2 weeks ago

https://learn.microsoft.com/en-us/dotnet/machine-learning/how-to-guides/install-ml-net-cli?tabs=linux#install-a-specific-release-version

dotnet tool install -g mlnet-<OS>-<ARCH> --framework <FRAMEWORK>