tags:

views:

150

answers:

1

Is there any way to make pip play well with multiple versions of Python? For example, I want to use pip to explicitly install things to either my site 2.5 installation or my site 2.6 installation.

For example, with easy_install, I use easy_install-2.{5,6}.

And, yes — I know about virtualenv, and no — it's not a solution to this particular problem.

+2  A: 

/path/to/python2.{5,6} /path/to/pip install PackageName doesn't work?

bwinton
Ah, yup — that works. Don't know why I didn't think of it…
David Wolever