On 29/11/24 10:50, Barry wrote:
I don't remember which package it was, as I don't remember back that far. I think I finished up abandoning the process that required the offending package.On 28 Nov 2024, at 21:41, Stephen Morris <steve.morris.au@xxxxxxxxx> wrote: Just possibly off topic here, but quite some time ago I was playing around with python and needed a package (I don't remember which one it was) that wasn't installed, so I used pip3 to do the install and it installed a python 2 version into python 3, hence the package failed because of differences in the print function. Has anybody else encountered this issue, I'm suspecting a badly created package, but just wanted to confirm that it wasn't more widely spread, that if it was a defect within pip3 under certain conditions that it has been rectified?I follow python very closely and have not heard of this issue before. My guess is that it was an error with the meta data of the package and not a pip bug. Do you remember which package did this?
Just as a matter of interest, I've been using a couple of books/magazines to learn python, as we are moving to an environment at work that has a python component and they have banned individuals from doing package installs via pip. With reference to the Fedora environment, if a package is required to be installed, would you recommend installing the repository version or download it with pip?
I'm asking this because as part of the learning I've been doing, I've encountered the situation where the package required for production of a game, produced messages about my cpu supporting a certain option but it wasn't available and I think the package did nothing, and people on this list said that fedora doesn't compile for that option, and the package installed via pip didn't produce the messages.
Also I've been in the situation where the tutorial I was doing, which was written for python 3.12 (the version Fedora was using prior to the F41 upgrade) where the repository installed version didn't contain the referenced functions, but the pip3 installed version did.
Just as a matter of curiosity, given these issues, if we need to install a package that is currently not installed, how do we know whether its better to install it from the repositories which presumably will install it as global, or install it via pip3 where it can be installed for just the current user?
regards,
Steve
Barry
Attachment:
OpenPGP_0x1EBE7C07B0F7242C.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue