serious conflicts between python pks installed via yum vs pip
Neal Becker
ndbecker2 at gmail.com
Sun Feb 12 19:52:48 UTC 2012
Toshio Kuratomi wrote:
> On Sat, Feb 11, 2012 at 09:00:55AM -0500, Neal Becker wrote:
>>
>> I always try out packages first via easy_install or pip (after checking they
>> are not already available via yum).
>>
>> Yes, I could try things via virtualenv, but I'm just not in that habit - and
>> I suspect many others are in the same boat.
>>
> For this use case, why are you installing into
> /usr/lib{64,}/python2.7/site-packages ?
>
> ~/.local/lib/python2.7/site-packages sounds like it would suit this use much
> better.
>
> For pip, the command line to do that is:
>
> pip-python --user PACKAGENAME
>
> (I think there's an easy_install equivalent but I try to avoid setuptools
> stuff when I can :-)
>
> I believe that that directory is set by upstream python so it should work
> out of the box on Fedora and other systems.
>
> -Toshio
That sounds like a good suggestion - thanks!
More information about the devel
mailing list