shared python module ?
Westley MartÃnez
anikom15 at gmail.com
Fri Feb 4 18:24:45 EST 2011
On Fri, 2011-02-04 at 22:36 +0530, km wrote:
> Hi all,
>
> I have two version of python 2.6 and 2.7.
> Now Is there any way that I install a python module (from pypi) and
> import it across both the versions ?
>
> regards,
> KM
Simply install it twice, for each version, e.g.:
% cd <source directory>
% python2.6 setup.py install
% python2.7 setup.py install
Each version of Python has its own directory for modules.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110204/aca9e949/attachment-0001.html>
More information about the Python-list
mailing list