install packages with pip to older Python versions

alex23 wuwei23 at
Mon Sep 26 23:11:13 EDT 2011

On Sep 27, 6:39 am, Jabba Laci <jabba.l... at> wrote:
> So, how can I install packages for a specific version of Python (here,
> v2.5)? With 2.7 I use "sudo pip install <package_name>".

It's amazing what you can find when you look at the documentation:

"You can use pip install --upgrade SomePackage to upgrade to a newer
version, or pip install SomePackage==1.0.4 to install a very specific

However, if you're not using virtualenv, I'd recommend looking at it
as well:

More information about the Python-list mailing list