franzsilva / MLBuilderVSCode-Source

8 stars 2 forks source link

ML.NET Model Builder (Preview) and Visual Studio Online #3

Closed PeterMilovcik closed 3 years ago

PeterMilovcik commented 4 years ago

Hi, I've tried to install it in Visual Studio Online environment. Installation of extension itself was successful, however after I executed following commands, I've got these errors:

Here are logs from terminal:

vsonline:~/workspace$ dotnet tool install -g mlnet

Welcome to .NET Core 3.0!
---------------------
SDK Version: 3.0.100

Telemetry
---------
The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.

Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry

----------------
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Find out what's new: https://aka.ms/dotnet-whats-new
Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
Write your first app: https://aka.ms/first-net-core-app
--------------------------------------------------------------------------------------
Tools directory '/home/vsonline/.dotnet/tools' is not currently on the PATH environment variable.
If you are using bash, you can add it to your profile by running the following command:

cat << \EOF >> ~/.bash_profile
# Add .NET Core SDK tools
export PATH="$PATH:/home/vsonline/.dotnet/tools"
EOF

You can add it to the current session by running the following command:

export PATH="$PATH:/home/vsonline/.dotnet/tools"

You can invoke the tool using the following command: mlnet
Tool 'mlnet' (version '0.15.1') was successfully installed.
vsonline:~/workspace$ mlnet
bash: mlnet: command not found
vsonline:~/workspace$ export PATH="$PATH:/home/vsonline/.dotnet/tools"
vsonline:~/workspace$ mlnet
A fatal error occurred. The required library libhostfxr.so could not be found.
If this is a self-contained application, that library should exist in [/home/vsonline/.dotnet/tools/.store/mlnet/0.15.1/mlnet/0.15.1/tools/netcoreapp2.1/any/].
If this is a framework-dependent application, install the runtime in the global location [/usr/share/dotnet] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [/etc/dotnet/install_location].
vsonline:~/workspace$ 
franzsilva commented 4 years ago

Hi @PeterMilovcik , that is the same error im getting aswell. im wating on Microsofts side to implement .net core 3.1 on the server so that this runs smoothly. Ill update the post when its working.

PeterMilovcik commented 4 years ago

Visual Studio Online is now running on 3.1.100.

franzsilva commented 3 years ago

Should be working Now on version 0.1.0