Milind Birajdar
Milind Birajdar

Reputation: 137

how to install library modules on python version which is not default

I have python 2.7 by default and 2.6 but I need some modules installed on python 2.6 .But by default it is installing on 2.7.Any idea how to do it.

Upvotes: 1

Views: 129

Answers (1)

Christian Witts
Christian Witts

Reputation: 11585

If you explicitly call your Python 2.6 Binary when installing the package it will install to that instance instead. So instead of python setup.py install you would do /path/to/python26 setup.py install.

Upvotes: 1

Related Questions