<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.32.1">
</HEAD>
<BODY>
On Fri, 2011-02-04 at 22:36 +0530, km wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    Hi all,<BR>
    <BR>
    I have two version of python 2.6 and 2.7. <BR>
    Now Is there any way that I install a python module (from pypi) and import it across both the versions ? <BR>
    <BR>
    regards,<BR>
    KM  <BR>
</BLOCKQUOTE>
Simply install it twice, for each version, e.g.:<BR>
<TT>% cd <source directory></TT><BR>
<TT>% python2.6 setup.py install</TT><BR>
<TT>% python2.7 setup.py install</TT><BR>
<BR>
Each version of Python has its own directory for modules.
</BODY>
</HTML>