• =?UTF-8?B?4oCcd2luZ2V0IGluc3RhbGwgOU5RNzUxMkNYTDdU4oCd?=

    From Lawrence D'Oliveiro@21:1/5 to All on Thu Jun 12 07:53:37 2025
    XPost: alt.comp.os.windows-11

    Guess what that command does <https://www.infoworld.com/article/4001983/get-started-with-the-new-python-installation-manager.html>:
    it installs the new Python Installation Manager, which is supposed to
    make Python easier to use under Windows. Quote:

    You can also use the WinGet package manager: winget install
    9NQ7512CXL7T. (Note that in the future, this alias may be changed
    to something more readable.)

    Remember, this is Microsoft’s attempt to make addon software on
    Dimdows as easy to install and keep up-to-date as package managers on
    Linux distros. Did you ever see a Linux distro that offered a package
    name like “9NQ7512CXL7T”? We prefer to use package names assigned by humans, not randomly output from random number generators (or wherever
    the hell that monstrosity came from).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul@21:1/5 to Lawrence D'Oliveiro on Thu Jun 12 06:33:39 2025
    XPost: alt.comp.os.windows-11

    On Thu, 6/12/2025 3:53 AM, Lawrence D'Oliveiro wrote:
    Guess what that command does <https://www.infoworld.com/article/4001983/get-started-with-the-new-python-installation-manager.html>:
    it installs the new Python Installation Manager, which is supposed to
    make Python easier to use under Windows. Quote:

    You can also use the WinGet package manager: winget install
    9NQ7512CXL7T. (Note that in the future, this alias may be changed
    to something more readable.)

    Remember, this is Microsoft’s attempt to make addon software on
    Dimdows as easy to install and keep up-to-date as package managers on
    Linux distros. Did you ever see a Linux distro that offered a package
    name like “9NQ7512CXL7T”? We prefer to use package names assigned by humans, not randomly output from random number generators (or wherever
    the hell that monstrosity came from).


    It's stored by name in the Microsoft Store.

    [Picture]

    https://i.postimg.cc/0ygPf69g/Microsoft-Store-Python-Install-Manager.gif

    Some of those strings, are corporate identifiers when it comes to
    package management. Microsoft has two corporate identifiers for its
    content in the Microsoft Store. The WinGet thing makes it look like
    that is a package identifier though.

    9NQ7512CXL7T <=== package identifier ?
    PythonSoftwareFoundation.PythonManager_qbz5n2kfra8p0 <=== corporate identifier on end of ProgramName

    Microsoft.WindowsNotepad_8wekyb3d8bbwe \___ Microsoft Corporate Identifiers MicrosoftWindows.Client.CBS_cw5n1h2txyewy /

    At one time, there was an SQLITE3 database that contained
    information about programs. For example, if the "in-box" bit
    was set, you couldn't remove the package. Maybe that's where
    all these identifiers might get stored.

    It doesn't necessarily go into the registry, because
    the registry has CLSIDs and other GUID things for programs.

    The Python Software Foundation also has .msi and .msix files for install.
    Which are more conventional installation methods for the audience here.
    The .msi format is the older one. The .msix is newer.

    Also, when I installed that in a Win11 VM, I didn't need an MSA.
    My local account default of "Bullwinkle" worked with the free item.

    *******

    My notes file has this example.

    winget install --id=9P3395VX91NR -e --accept-package-agreements # defunct Windows Subsystem for Android

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Thu Jun 12 17:45:09 2025
    XPost: alt.comp.os.windows-11

    On Thu, 12 Jun 2025 07:53:37 -0000 (UTC), Lawrence D'Oliveiro wrote:

    Guess what that command does <https://www.infoworld.com/article/4001983/get-started-with-the-new-
    python-installation-manager.html>:
    it installs the new Python Installation Manager, which is supposed to
    make Python easier to use under Windows. Quote:

    You can also use the WinGet package manager: winget install
    9NQ7512CXL7T. (Note that in the future, this alias may be changed to
    something more readable.)

    Remember, this is Microsoft’s attempt to make addon software on Dimdows
    as easy to install and keep up-to-date as package managers on Linux
    distros. Did you ever see a Linux distro that offered a package name
    like “9NQ7512CXL7T”? We prefer to use package names assigned by humans, not randomly output from random number generators (or wherever the hell
    that monstrosity came from).

    The rant would be more meaningful had you not skipped the part about
    installing it from the Microsoft Store. The process is could be better
    defined since you have to uninstall the existing py.

    It's a nice tool, similar to nvm (node version manager). I have Python
    3.11 and 3.12 already installed on the Windows box; py installed 3.14 and
    made it the default.

    pyenv is a third party script for Linux that is similar but installing it
    is a little more complex.

    curl -fsSL https://pyenv.run | bash

    echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
    echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
    echo 'eval "$(pyenv init - bash)"' >> ~/.bashrc

    echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.profile
    echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.profile
    echo 'eval "$(pyenv init - bash)"' >> ~/.profile

    Actually version management on Linux can be a pain in the ass. I spent
    some time yesterday sorting out PostgresSQL. After several upgrades I have
    14, 15, 16, and 17. The servers come up on ports 5432, 5433, 5434, and
    5435 respectively. Pgadmin4 got whacked by one of the upgrades and
    getting it installed and connected to the right (17) server was fun.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)