Thursday, 19 September 2013

how to get the appropriate version of pip

how to get the appropriate version of pip

Problem
I can't seem to get my packages to install to the correct site-packages
directory.
Background
I wanted to upgrade to python 3.3 but I found that I still need python2.6
in order to use yum (it isn't configured for python3). And so I have both
on my system.
Separate pip and easy_install for each version???
The issue is that when I download a package, and run "python setup.py
install" I find that it is installed in python2.6. I have tried using pip
and easy_install but they do the same. I have read that a solution is to
have different versions of pip (pip_2.6 and pip_3.3). But I can't find a
way to download the separate versions. One work around is to give the "-d
PathToSitePackages" argument in pip but this is inelegant.
other programs not using the newer version
Another issue is that I find that when I use systems such as sphinx, they
use the old version of python. I can't seem to figure out how to get them
to use the newer version of python.

No comments:

Post a Comment