> On 6 Jul 2021, at 18:35, Todd Zullinger <tmz@xxxxxxxxx> wrote: > > 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. Do you have an example of this? I'm sure it is possible, but I've not seen this personally. The only case I know of where a venv is a must is when you want to use conflicting sets of pip installed packages for different apps. If the set of packages do not conflict I have never seen pip install -user fail. I'd love to know of a case that does fail and investigate it. > 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. :) If you pip install into the system then you will very likely break something important. > 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. I agree and even said so. > > 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. Barry > > -- > Todd > _______________________________________________ > 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 _______________________________________________ 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