Barry wrote: >> On 6 Jul 2021, at 03:38, Frederic Muller <fred@xxxxxxxx> >> wrote: >>> On 7/6/21 3:34 AM, Barry wrote: [...] >>> It’s fine to install packages with pip install —user. >>> Use of venv is very useful, but not mandatory. >>> >> Actually it's not. That's what I do all the time. Rather >> than copying the explanation, I'll point whoever is >> interested into the explanations and the resolution *it >> seems to be a very common problem users are facing >> apparently*: >> https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/thread/JNBGOXQ73P6VSOWYHGRT7T2IMMJ7RPSD/ > > I read all of the thread, i am on the dev list. > > It told you to never install into the fedora system python > directories, which it appears you did. > It did not tell you that installing the user dirs will > break fedora. Doing so can still interact badly with the system python modules. While it's better to limit that to just one user rather than the whole system, it doesn't really help when the user who's got an odd python problem is your own. :) I think it's entirely reasonable advice to generally recommend using venv if you're using pip. Personally, I'd package anything I needed before I'd ever use pip install. Can you get away with not doing so in every case? Sure. But you have to know what those cases are. So it's not good general advice to suggest you shouldn't bother with using venv, IMO. -- Todd
Attachment:
signature.asc
Description: PGP 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 on the list, report it: https://pagure.io/fedora-infrastructure