user17836990
user17836990

Reputation:

Windows Package Manger upgrade Python 3

I want to upgrade my Python 3 install to a specific version of python 3 (3.8.10), but I can't figure out the complete version that "windows package manager" is expecting.

winget upgrade --id Python.Python.3 --version 3.8.10 says "No version found matching 3.8.10"

My current version is 3.6.8150.0. What is the 8150 number? I can't find documentation of that anywhere.

Upvotes: 0

Views: 742

Answers (1)

shriakhilc
shriakhilc

Reputation: 3000

The number you see and the number you should be passing to --version is the version of the winget package, not of Python itself.

I am not clear on why all the Python winget packages have 150 in their package version (the contribution docs don't seem to be enforcing a consistent versioning scheme). But looking at the available options at winget-pkgs, the one you want is likely 3.8.10150.0.

Upvotes: 0

Related Questions