On Sat, 22 Jan 2022 07:48:47 -0500 Jonathan Billings billings@negate.org wrote:
On Jan 22, 2022, at 06:35, Dorian ROSSE dorianbrice@hotmail.fr wrote:
Have you tried 'pip3 install python3dist ' ?
I never suggest Fedora users run ‘pip’ as root, except when in a virtualenv, dockerfile or some contained environment.
It is far too easy for pip to overwrite or override a packaged python library and break system tools, such as the ones used in DNF. Once you’ve broken dnf, it is hard to fix those libraries since dnf is the tool to fix them.
ObXKCD: https://xkcd.com/1987/
But seriously, I used to use the cpan command to install missing Perl modules. That led to many interesting problems, especially after system updates. I now build my own RPMs (cpanspec is great). The has many advantages: the same software is available on many computers, system and package updates are easy, and the spec file documents how thee software was built. The current Fedora packaging tooling also makes it easy to build Python packages as RPMs. https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/
It would be great if the Fedora project were to emphasize the advantages to sysadmins and developers of build their own RPMs.
Jim