serious conflicts between python pks installed via yum vs pip

Toshio Kuratomi a.badger at gmail.com
Sat Feb 11 16:04:41 UTC 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20120211/50b44060/attachment.sig>


More information about the devel mailing list