oci-cli icon indicating copy to clipboard operation
oci-cli copied to clipboard

Windows offline installer does not properly detect latest Python. Sorting installed versions fails with 3.8 vs. 3.12

Open jeliker1 opened this issue 1 year ago • 2 comments

Using 3.47.0

Installer finds two Python installations in HKCU

  • 3.8
  • 3.12

...but installation script install.ps1 sorts these which places 3.8 above 3.12 and is therefore chosen as the Python version to use. I renamed the key in registry to 3.08 and it properly detects 3.12 now when sorted (by the install script) but this seems like work-around rather than solution

jeliker1 avatar Sep 04 '24 21:09 jeliker1

Getting the same on Debian Linux (Trixie)

dansaim avatar Sep 09 '24 22:09 dansaim

Thanks for highlighting this @jeliker1 , @dansaim , looks like a genuine issue. CLI team will work on fixing this and share more here

karthik-k-kamath avatar Sep 10 '24 10:09 karthik-k-kamath