Re: Python libraries problem with F34

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux