Le vendredi 14 avril 2017 à 11:08 -0700, stan a écrit : On Fri, 14 Apr 2017 19:40:31 +0200
Hi,
On many places users are advised to use "pip install" to install python packages. As Fedora "evangelist" I also have to help my friends/colleagues to setup libs/softwares on Fedora. One the most common trap is the "pip install", many user does "sudo pip install -- upgrade whatever" and if this is a package already installed by the system it may mess up everything since on Fedora the install path is the same.
[snip] I have no perfect solution for this issue, anyway I would be happy to get feedbacks on this topic.
I have PYTHONUSERBASE=/home/stan/src/usr/lib64/python2.7/site-packages export PYTHONUSERBASE in my .bashrc and I just use the --user option so pip installs into that directory. Seems to work.
Yep, my point is more for new users or non-geek users who just want it to work (make it default or automatic...). My point is more how would we avoid classic pitfalls on Feora, on Linux?
I'm not sure that would work for what you want, though. _______________________________________________
|
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx