Re: Request: Add Python package: pipx
Brian Inglis via Cygwin <[email protected]>
| Newsgroups | gmane.os.cygwin |
|---|---|
| Organization | Systematic Software |
| Message-ID | <[email protected]> |
On 2026-01-21 23:18, Ross Patterson via Cygwin wrote: > On Wed, Jan 21, 2026 at 10:04 PM Marco Atzeri <[email protected]> wrote: >> >> Plese reply on mailing list > > Sorry, it's been a long time since posting to a mailing list, rusty. > >> Have you tried to install "python39-tomli" > > Maybe you missed the rest of that same email?: > >> On 22/01/2026 00:18, Ross Patterson wrote: >> >> But the Python 3.12 version works: >> >> ``` >> $ pipx3.12 --help >> usage: pipx3.12 [-h] [--quiet] [--verbose] [--global] [--version] >> >> {install,install-all,uninject,inject,pin,unpin,upgrade,upgrade-all,upgrade-shared,uninstall,uninstall-all,reinstall,reinstall-all,list,interpreter,run,runpip,ensurepath,environment,completions} >> ... >> >> Install and execute apps from Python packages. >> ... >> ``` >> >> After the obvious workaround, installing `python39-tomli`, that >> version works too: >> >> ``` >> $ pipx3.9 --help >> usage: pipx3.9 [-h] [--quiet] [--verbose] [--global] [--version] >> {install,install-all,uninject,inject,pin,unpin,upgrade,upgrade-all,upgrade-shared,uninstall,uninstall-all,reinstall,reinstall-all,list,interpreter,run,runpip,ensurepath,environment,completions} >> ... >> >> Install and execute apps from Python packages. >> ... >> ``` >> >> I note that for Python 3.12 only the `python312-toml` package is >> installed, so maybe a different dependency for the 2 Python versions? See the PyPi docs on tomli - tomllib from tomli is standard in 3.11+ - tomli can be imported as tomllib for <= 3.10 - see compatibility notes also alternate toml parser performance comparisons. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut -- Antoine de Saint-Exupéry -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple