UniGetUI icon indicating copy to clipboard operation
UniGetUI copied to clipboard

[BUG] Pip not detecting lacking permissions

Open kotenok2000 opened this issue 8 months ago • 18 comments

Please confirm these before moving forward

  • [x] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • [x] I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • [x] I have checked the FAQ section for solutions.
  • [x] This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version

3.1.8

Windows version, edition, and architecture

Microsoft Windows 11 Pro [Version 10.0.26100.3476]

Describe your issue

It tries to look for python at C:\Users\frolo\AppData\Local\Microsoft\WindowsApps\python.exe

It is installed at C:\Program Files\Python313\python.exe Same for vcpkg. It is installed to E:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg\vcpkg.exe

Steps to reproduce the issue

No response

UniGetUI Log

[30.03.2025 18:08:16]    __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                      \____/_/ /_/_/\____/\___/\__/\____/___/
                          Welcome to UniGetUI Version 3.1.8
[30.03.2025 18:08:16]
[30.03.2025 18:08:16] Build 84
[30.03.2025 18:08:16] Data directory C:\Users\frolo\AppData\Local\UniGetUI
[30.03.2025 18:08:17] Encoding Code Page set to 866
[30.03.2025 18:08:17] Using built-in UniGetUI Elevator
[30.03.2025 18:08:18] Loaded language locale: en
[30.03.2025 18:08:19] The restored geometry did not have exactly 5 items (found length was 1)
[30.03.2025 18:08:19] Randomly-generated background API auth token for the current session: buvps3tazetitls9pgi6gy1tl695p6b0islyj4c6hf32h3f6pedhw05b2jntr7ut
[30.03.2025 18:08:19] Api running on http://localhost:7058
[30.03.2025 18:08:20] Old chocolatey path is a symbolic link, not migrating Chocolatey...
[30.03.2025 18:08:20] Lang files were updated successfully from GitHub
[30.03.2025 18:08:20] Command vcpkg was not found on the system
[30.03.2025 18:08:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Cargo
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: cargo.exe
                      █ Executable path: C:\Users\frolo\.cargo\bin\cargo.exe
                      █ Call arguments: 
                      █ Version: 
                      █   cargo 1.85.1 (d73d2caf9 2024-12-31)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[30.03.2025 18:08:21] Command vcpkg was not found on the system
[30.03.2025 18:08:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[30.03.2025 18:08:21] Running elevated, WinGet class registration is likely to fail unless using lower trust class registration is allowed in settings
[30.03.2025 18:08:21] Command vcpkg was not found on the system
[30.03.2025 18:08:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: vcpkg
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[30.03.2025 18:08:23] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: dotnet tool
                      █ Executable path: C:\Program Files\dotnet\dotnet.exe
                      █ Call arguments: tool
                      █ Version: 
                      █   9.0.201
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[30.03.2025 18:08:23] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: npm
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command npm
                      █ Version: 
                      █   11.0.0
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[30.03.2025 18:08:23] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: winget.exe
                      █ Executable path: C:\Users\frolo\AppData\Local\Microsoft\WindowsApps\winget.exe
                      █ Call arguments: 
                      █ Version: 
                      █   System WinGet CLI Version: v1.10.340
                      █   Using Native WinGet helper (COM Api)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[30.03.2025 18:08:25] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: choco.exe
                      █ Executable path: C:\Users\frolo\AppData\Local\UniGetUI\Chocolatey\choco.exe
                      █ Call arguments: 
                      █ Version: 
                      █   2.4.3
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[30.03.2025 18:08:25] Downloaded new icons and screenshots successfully!
[30.03.2025 18:08:27] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell7
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: pwsh.exe
                      █ Executable path: C:\Program Files\PowerShell\7\pwsh.exe
                      █ Call arguments:  -NoProfile -Command
                      █ Version: 
                      █   PowerShell 7.5.0
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[30.03.2025 18:08:30] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: powershell.exe
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -Command
                      █ Version: 
                      █   Name                           Value                                                                                   
                      █   ----                           -----                                                                                   
                      █   PSVersion                      5.1.26100.2161                                                                          
                      █   PSEdition                      Desktop                                                                                 
                      █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
                      █   BuildVersion                   10.0.26100.2161                                                                         
                      █   CLRVersion                     4.0.30319.42000                                                                         
                      █   WSManStackVersion              3.0                                                                                     
                      █   PSRemotingProtocolVersion      2.3                                                                                     
                      █   SerializationVersion           1.1.0.1
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[30.03.2025 18:08:33] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Scoop
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: scoop
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop
                      █ Version: 
                      █   Current Scoop version:
                      █   859d1db5 chore(release): Bump to version 0.5.2 (#6080)
                      █   
                      █   'main' bucket:
                      █   a50a822ae vals: Update to version 0.40.0
                      █   
                      █   'extras' bucket:
                      █   fa1857cbdd mpv-easy-player: Update to version 0.40.0.1
                      █   
                      █   'versions' bucket:
                      █   65f148997 kdenlive-nightly: Update to version 9992
                      █   
                      █   'nirsoft' bucket:
                      █   1df949f Merge pull request #265 from msergein/multimonitortool-2.15
                      █   
                      █   'php' bucket:
                      █   04ca5eb php8.3: Update to version 8.3.19
                      █   
                      █   'nerd-fonts' bucket:
                      █   3cc477db LXGWNeoZhiSong: Update to version 1.030.1
                      █   
                      █   'nonportable' bucket:
                      █   16e01cff office-365-apps-np: Update to version 0.0.1.4
                      █   
                      █   'java' bucket:
                      █   cf4b6adf temurin17-nightly-jre: Update to version 17.0.15-5.0.ea
                      █   
                      █   'games' bucket:
                      █   cef500f96 rpcs3: Update to version 0.0.35-17720
                      █   
                      █   'emulators' bucket:
                      █   2f75c5d2f dolphin-dev: Update to version 2503-176
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[30.03.2025 18:08:33] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[30.03.2025 18:08:44] Dependency Scoop-Search for manager Scoop is present
[30.03.2025 18:08:45] Dependency Git for manager Scoop is present
[30.03.2025 18:08:57] Dependency cargo-update for manager Cargo is present
[30.03.2025 18:08:58] Dependency cargo-binstall for manager Cargo is present
[30.03.2025 18:09:33] Manager PowerShell 5.x failed to list installed packages with exception TimeoutException: Task _getInstalledPackages for manager PowerShell did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
[30.03.2025 18:09:33] Since this was the first attempt, PowerShell.AttemptFastRepair() will be called and the procedure will be restarted
[30.03.2025 18:09:33] Manager Chocolatey failed to list installed packages with exception TimeoutException: Task _getInstalledPackages for manager Chocolatey did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
[30.03.2025 18:09:33] Since this was the first attempt, Chocolatey.AttemptFastRepair() will be called and the procedure will be restarted
[30.03.2025 18:09:33] Manager .NET Tool failed to list installed packages with exception TimeoutException: Task _getInstalledPackages for manager .NET Tool did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
[30.03.2025 18:09:33] Since this was the first attempt, .NET Tool.AttemptFastRepair() will be called and the procedure will be restarted
[30.03.2025 18:09:33] Manager Cargo failed to list installed packages with exception TimeoutException: Task _getInstalledPackages for manager Cargo did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
[30.03.2025 18:09:33] Since this was the first attempt, Cargo.AttemptFastRepair() will be called and the procedure will be restarted
[30.03.2025 18:09:33] Manager WinGet failed to list installed packages with exception TimeoutException: Task _getInstalledPackages for manager Winget did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
[30.03.2025 18:09:33] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
[30.03.2025 18:09:33] Manager Npm failed to list installed packages with exception TimeoutException: Task _getInstalledPackages for manager Npm did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
[30.03.2025 18:09:33] Since this was the first attempt, Npm.AttemptFastRepair() will be called and the procedure will be restarted
[30.03.2025 18:09:33] Manager Scoop failed to list installed packages with exception TimeoutException: Task _getInstalledPackages for manager Scoop did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
[30.03.2025 18:09:33] Since this was the first attempt, Scoop.AttemptFastRepair() will be called and the procedure will be restarted
[30.03.2025 18:09:33] Manager PowerShell 7.x failed to list installed packages with exception TimeoutException: Task _getInstalledPackages for manager PowerShell7 did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
[30.03.2025 18:09:33] Since this was the first attempt, PowerShell7.AttemptFastRepair() will be called and the procedure will be restarted
[30.03.2025 18:09:33] Attempting to reconnect to WinGet COM Server...
[30.03.2025 18:09:33] Running elevated, WinGet class registration is likely to fail unless using lower trust class registration is allowed in settings
[30.03.2025 18:10:11] Found 60 available updates from Winget
[30.03.2025 18:10:33] Manager PowerShell 7.x failed to list available updates with exception TimeoutException: Task _getInstalledPackages for manager PowerShell7 did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
[30.03.2025 18:10:33] Since this was the first attempt, PowerShell7.AttemptFastRepair() will be called and the procedure will be restarted
[30.03.2025 18:10:33] Error finding installed packages on manager PowerShell
[30.03.2025 18:10:33] Error finding installed packages on manager Cargo
[30.03.2025 18:10:33] Error finding installed packages on manager PowerShell7
[30.03.2025 18:10:33] Error finding installed packages on manager Scoop
[30.03.2025 18:10:33] Error finding installed packages on manager .NET Tool
[30.03.2025 18:10:33] Error finding installed packages on manager Npm
[30.03.2025 18:10:33] Error finding installed packages on manager Chocolatey
[30.03.2025 18:10:33] Error finding installed packages on manager Winget
[30.03.2025 18:10:33] System.TimeoutException: Task _getInstalledPackages for manager PowerShell7 did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
                         at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getInstalledPackages(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 255
[30.03.2025 18:10:33] System.TimeoutException: Task _getInstalledPackages for manager PowerShell did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
                         at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getInstalledPackages(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 255
[30.03.2025 18:10:33] System.TimeoutException: Task _getInstalledPackages for manager Chocolatey did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
                         at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getInstalledPackages(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 255
[30.03.2025 18:10:33] System.TimeoutException: Task _getInstalledPackages for manager Cargo did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
                         at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getInstalledPackages(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 255
[30.03.2025 18:10:33] System.TimeoutException: Task _getInstalledPackages for manager Npm did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
                         at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getInstalledPackages(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 255
[30.03.2025 18:10:33] System.TimeoutException: Task _getInstalledPackages for manager .NET Tool did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
                         at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getInstalledPackages(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 255
[30.03.2025 18:10:33] System.TimeoutException: Task _getInstalledPackages for manager Winget did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
                         at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getInstalledPackages(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 255
[30.03.2025 18:10:45] Manager Scoop failed to list available updates with exception TimeoutException: Task _getInstalledPackages for manager Scoop did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
[30.03.2025 18:10:45] Since this was the first attempt, Scoop.AttemptFastRepair() will be called and the procedure will be restarted
[30.03.2025 18:10:58] Manager Chocolatey failed to list available updates with exception TimeoutException: Task _getInstalledPackages for manager Chocolatey did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
[30.03.2025 18:10:58] Since this was the first attempt, Chocolatey.AttemptFastRepair() will be called and the procedure will be restarted
[30.03.2025 18:11:11] Manager Npm failed to list available updates with exception TimeoutException: Task _getInstalledPackages for manager Npm did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
[30.03.2025 18:11:11] Since this was the first attempt, Npm.AttemptFastRepair() will be called and the procedure will be restarted
[30.03.2025 18:11:11] Manager Cargo failed to list available updates with exception TimeoutException: Task _getInstalledPackages for manager Cargo did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
[30.03.2025 18:11:11] Since this was the first attempt, Cargo.AttemptFastRepair() will be called and the procedure will be restarted
[30.03.2025 18:11:30] Manager PowerShell 5.x failed to list available updates with exception TimeoutException: Task _getInstalledPackages for manager PowerShell did not finish after 60 seconds, aborting.  You may disable timeouts from UniGetUI Advanced Settings
[30.03.2025 18:11:30] Since this was the first attempt, PowerShell.AttemptFastRepair() will be called and the procedure will be restarted
[30.03.2025 18:11:39] Found 5 installed packages from Scoop
[30.03.2025 18:11:45] Scoop buckets have been already refreshed in the last ten minutes, skipping.
[30.03.2025 18:11:47] Found 0 available updates from Chocolatey
[30.03.2025 18:11:47] Found 9 installed packages from PowerShell7
[30.03.2025 18:11:49] Found 0 available updates from Cargo
[30.03.2025 18:11:49] Found 5 installed packages from Scoop
[30.03.2025 18:11:55] Found 4 installed packages from PowerShell
[30.03.2025 18:11:56] Found 2 available updates from PowerShell7
[30.03.2025 18:11:56] Found 1 installed packages from .NET Tool
[30.03.2025 18:11:56] Found 1 available updates from PowerShell
[30.03.2025 18:11:57] Found 0 available updates from .NET Tool
[30.03.2025 18:12:00] Found 0 available updates from Npm
[30.03.2025 18:12:30] Found 1 available updates from Scoop
[30.03.2025 18:14:16] Loaded operation parameters for package id=Microsoft.WinGet.Client on manager PowerShell7 and operation Update: Update-PSResource -Name Microsoft.WinGet.Client -Confirm:$false -Force -TrustRepository -AcceptLicense -Scope CurrentUser

Package Managers Logs

Manager Pip with version:

Relevant information

No response

Screenshots and videos

Image

Image

kotenok2000 avatar Mar 30 '25 15:03 kotenok2000

Ade python and vcpkd added to path?

marticliment avatar Mar 30 '25 16:03 marticliment

Yes.

Image

kotenok2000 avatar Mar 30 '25 16:03 kotenok2000

Python is added to path.

kotenok2000 avatar Mar 30 '25 16:03 kotenok2000

I'm not entirely sure how the app execution aliases thing for Python works; I always thought that were there a Python executable prior to the Microsoft store one, it would detect that, but I've never tested it and that doesn't seem to be what is occurring here. For Pip, try disabling the python and pythonw app execution aliases in the Windows settings (if you search App Execution Aliases in the start menu it should be the first result) and see if that fixes it.

mrixner avatar Mar 30 '25 18:03 mrixner

Vcpkg is a bit different, especially when installed through Visual Studio. Visual Studio doesn't install anything into the system path; in order to use Visual Studio executables like cl or in this case vcpkg, you have to use the Visual Studio Developer Command Prompts, which sets the path for that instance to include the Visual Studio executables.

Do you have the VCPKG_ROOT environment variable set? If so, please provide the output; if not, there are two solutions to your problem.

  1. set the VCPKG_ROOT environment variable to E:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg
  2. in the package manager settings for vcpkg, change the vcpkg root from %VCPKG_ROOT% to the aforementioned directory

After doing this, fully restart UniGetUI for the changes to take effect.

Let me know if that helps!

mrixner avatar Mar 30 '25 18:03 mrixner

I'm not entirely sure how the app execution aliases thing for Python works; I always thought that were there a Python executable prior to the Microsoft store one, it would detect that, but I've never tested it and that doesn't seem to be what is occurring here. For Pip, try disabling the python and pythonw app execution aliases in the Windows settings (if you search App Execution Aliases in the start menu it should be the first result) and see if that fixes it.

I had the same issue. Deactivating these two settings made UniGetUI to find pip.

Image

But although it says to install to the Program Files folder, it installs to the user folder.

Image

Image

Updating manually via command line installs to the correct folder.

I don't know whether this helps. I found this little tool that does updating all outdated pip tools in one go: https://github.com/defjaf/pip_upgrade_outdated

bege10 avatar May 13 '25 21:05 bege10

Can you share your path? That looks like you have two version of python3, and the user one is first in the path, but that doesn't make sense if it works on the command line.

mrixner avatar May 14 '25 14:05 mrixner

Can you share your path? That looks like you have two version of python3, and the user one is first in the path, but that doesn't make sense if it works on the command line.

Image

All python3.exe files are 0-byte files.

Image

bege10 avatar May 16 '25 20:05 bege10

That's quite odd. So in the UniGetUI settings it finds system python, the package install directories are claimed to be in system-wide python's with the "open install location" menu, but it's actually being installed to the user directory? I can't think of a reason why that would be the case, given thst the pip path the settings find is almost verbatim the command it runs, at least I thought... Do you have the debug logs from one of these runs? It should show which executable it's launching. (sorry for the number of steps!)

It's possible it's defaulting to the user directory because it can't write to the system directory - you can see an example of this in #3079.

mrixner avatar May 17 '25 02:05 mrixner

It's possible it's defaulting to the user directory because it can't write to the system directory

That would make a lot of sense

marticliment avatar May 17 '25 10:05 marticliment

Do you have the debug logs from one of these runs? It should show which executable it's launching. (sorry for the number of steps!)

It's possible it's defaulting to the user directory because it can't write to the system directory

Indeed, there is this line in the log: Defaulting to user installation because normal site-packages is not writeable

Package update operation for Package=urllib3 with Manager=Pip
Installation options: <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=False;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=Global;InstallationScope=;CustomParameters=;RemoveDataOnUninstall=False>
Overriden options: <Scope=Global;RunAsAdministrator=;WG_SpecifyVersion=;PS_NoScope=False>
Executing process with StartInfo:
 - FileName: "C:\Program Files\Python312\python.exe"
 - Arguments: "-m pip install --upgrade urllib3 --no-input --no-color --no-cache"
Start Time: "13.05.2025 23:24:41"
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: urllib3 in c:\program files\python312\lib\site-packages (2.3.0)
Collecting urllib3
  Downloading urllib3-2.4.0-py3-none-any.whl.metadata (6.5 kB)
Downloading urllib3-2.4.0-py3-none-any.whl (128 kB)
Installing collected packages: urllib3
Successfully installed urllib3-2.4.0
End Time: "13.05.2025 23:24:44"
Process return value: "0" (0x0)

I run UniGetUI from an admin account and it triggers the UAC before updating. The elevated command line can write to the correct folder.

bege10 avatar May 17 '25 19:05 bege10

Does that mean it's working, or you need UniGetUI to elevate Pip commands? If that was the only issue, you can enable the Pip "always admin" setting to give pips the rights to install to the system directory. Image

mrixner avatar May 18 '25 18:05 mrixner

Does that mean it's working, or you need UniGetUI to elevate Pip commands? If that was the only issue, you can enable the Pip "always admin" setting to give pips the rights to install to the system directory.

It was not working. I meant that the log says that UniGetUI cannot access the normal folder although it has triggered the UAC and thus received the necessary rights. The winget packages are installed to the Program Files folder by UniGetUI and installing pip updates via command line does also. And yes, enabling the Pip "always admin" setting solved the issue.

bege10 avatar May 20 '25 17:05 bege10

It could be that UniGetUI is not properly detecting that Pip requires administrator rights. I will take a look at this

marticliment avatar May 20 '25 17:05 marticliment

Same (sort of) problem here. UnigetUI looks for pip in wrong folder. I thought I would manually change PIP folder in settings, but that sadly can't be done - and that would seem to me be an simpliest solution.

vectorrilke avatar May 28 '25 19:05 vectorrilke

The concern with doing that has been discussed before, and it's that it opens up the user to right elevation security exploits. If I can I'm thinking about implementing a selector to choose what executable - found in common directories and on the PATH - to use; @marticliment, would this introduce security issues, considering that both of these places are already searched by the program for the executables?

mrixner avatar May 28 '25 20:05 mrixner

I just solved actually. The issue was with app execution aliases. If you don't install python from windows store, execution alias "python" starts Windows Store. So I only turned off python execution alias in settings, and since both python and pip are in PATH, UnigetUI found them without any issue.

vectorrilke avatar May 28 '25 21:05 vectorrilke

I just solved actually. The issue was with app execution aliases. If you don't install python from windows store, execution alias "python" starts Windows Store. So I only turned off python execution alias in settings, and since both python and pip are in PATH, UnigetUI found them without any issue.

This was mentioned before in this thread. This description should be added to the pip settings in UniGetUI so every user can easily find it.

bege10 avatar May 29 '25 10:05 bege10