Closed Girofox closed 6 months ago
Hello,
what is the output of running dotnet tool
on a command prompt?
Hello,
what is the output of running
dotnet tool
on a command prompt?
It shows "command could not be founded". This is what happens when i launch "dotnet --list-runtimes" and "dotnet --info":
PS C:\Users\USER> dotnet --list-runtimes Microsoft.NETCore.App 6.0.27 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 7.0.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 8.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 6.0.27 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 7.0.16 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 8.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] PS C:\Users\USER> dotnet --info
Host: Version: 8.0.2 Architecture: x64 Commit: 1381d5ebd2 RID: win-x64
.NET SDKs installed: No SDKs were found.
.NET runtimes installed: Microsoft.NETCore.App 6.0.27 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 7.0.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 8.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 6.0.27 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 7.0.16 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 8.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found: None
Environment variables: Not set
global.json file: Not found
Learn more: https://aka.ms/dotnet/info
Download .NET: https://aka.ms/dotnet/download
So it seems that .NET runtime is not enough and I would need the .NET SDK for running dotnet tool ... ?
Yes, .NET Tool requires the .NET SDK in order to run.
Please confirm these before moving forward
Describe your issue
WingetUI 3.0-alpha1
It seems that the python command has a missing whitespace before "-m" flag. This is the error message I get when trying to update pip packages (with or without admin):
Another issue is that according to the package manager log the dotnet.exe is not found despite with .NET runtime installed. I definitely have Microsoft Windows .NET Runtime (6, 7 and 8) installed:
Steps to reproduce the issue
Try to update any pip package.
WingetUI Log
Package Managers Logs
Relevant information
Issue 1: pip package update failed
The full command to update pip packages should be
"C:\Users\ ... \Python3xx\python.exe" -m pip install ...
with a whitespace before "-m"Issue 2: dotnet command failed
The path to executable
C:\Program Files\dotnet\dotnet.exe
has a whitespace and should be inside quotation marks"..."
Screenshots and videos
No response