oracle / oci-cli

Command Line Interface for Oracle Cloud Infrastructure
https://cloud.oracle.com/cloud-infrastructure
Other
445 stars 185 forks source link

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

Open jeliker1 opened 2 months ago

jeliker1 commented 2 months ago

Using 3.47.0

Installer finds two Python installations in HKCU

...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

dansaim commented 1 month ago

Getting the same on Debian Linux (Trixie)

karthik-k-kamath commented 1 month ago

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