How to import the six library to python 2.5.2
<p>I'm wondering how I can import the six library to python 2.5.2? It's not possible for me to install using pip, as it's a closed system I'm using.</p>

<p>I have tried to add the six.py file into the lib path. and then use "import six". However, it doesnt seem to be picking up the library from this path.</p>

<p>According to project history, <a href="https://bitbucket.org/gutworth/six/src/a9b120c9c49734c1bd7a95e7f371fd3bf308f107?at=1.9.0" rel="nofollow">version 1.9.0</a> supports Python 2.5. Compatibility broke with 1.10.0 release.</p>

<blockquote>
  <p>Six supports every Python version since 2.5. It is contained in only
  one Python file, so it can be easily copied into your project. (The
  copyright and license notice must be retained.)</p>
</blockquote>

<p><a href="https://bitbucket.org/gutworth/six/commits/2dfeb4ba983d8d5985b5efae3859417d2a57e487" rel="nofollow">There is a commit in version control system which mentions change of minimum supported version</a>.</p>

<p>Note that pip is able to install fixed version of package if you want to.</p>

<pre><code>pip install six==1.9.0
</code></pre>

python python-import