install packages with pip to older Python versions

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


On Sep 27, 6:39 am, Jabba Laci <jabba.l... at gmail.com> 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:
http://www.pip-installer.org/en/latest/index.html

"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
version."

However, if you're not using virtualenv, I'd recommend looking at it
as well: http://pypi.python.org/pypi/virtualenv



More information about the Python-list mailing list