title: How does one install pyzmq 2.1.10 for python2.6 on window xp win32?
body: <p>I'm trying to install pyzmq and there seems to be no working windows binarys for py2.6 at <a href="http://pypi.python.org/pypi/pyzmq/2.1.10" rel="nofollow">pipy</a> 
  Also there are none at <a href="https://github.com/zeromq/pyzmq/downloads" rel="nofollow">https://github.com/zeromq/pyzmq/downloads</a>. They do have a msi for pyzmq 2.1.4 but that one also does not seem to work.</p>
  
  <p>Tried 
  easy_install-2.6 pyzmq 
  which ties to install pyzmq 2.1.10 but fails with the error </p>
  
  <pre><code>Fatal: ZMQ directory must be specified on Windows via setup.cfg or 'python setup.py      configure --zmq=/path/to/zeromq2'
  </code></pre>
  
  <p>error: Setup script exited with 1</p>
  
  <hr>
  
  <p>then tied<br>
  easy_install-2.6 pyzmq configure --zmq=C:\home\installed_applications\ZeroMQ_2.1.10
  and get the same error so I decide to download pyzmq-2.1.10
  I cd into C:\Python26\Lib\site-packages\pyzmq-2.1.10
  and run
  python setup.py configure --zmq==C:\home\installed_applications\ZeroMQ_2.1.10
  and I get
  running configure</p>
  
  <hr>
  
  <p>Configure: Autodetecting ZMQ settings...
      Custom ZMQ dir:       C:\home\installed_applications\ZeroMQ_2.1.10
  Fatal:
      Failed to run ZMQ test program.  Please check to make sure:</p>
  
  <pre><code>* You have a C compiler installed
  * A development version of Python is installed (including header files)
  * A development version of ZMQ &gt;= 2.1.4 is installed (including header files)
  * If ZMQ is not in a default location, supply the argument --zmq=&lt;path&gt;
  * If you did recently install ZMQ to a default location,
    try rebuilding the ld cache with `sudo ldconfig`
    or specify zmq's location with `--zmq=/usr/local`
  </code></pre>
  
  <hr>
  
  <hr>
  
  <p>I also tried building it using the instructions zeromq gives here
  <a href="http://www.zeromq.org/docs:windows-installations" rel="nofollow">http://www.zeromq.org/docs:windows-installations</a>
  but there seems to be gaps either in me knowing how to use the ruby installer or in the instructions.</p>
  
  <hr>
  
  <p>Lastly I tried using a windows installer from 
  <a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyzmq" rel="nofollow">http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyzmq</a> 
  but that gave me the following error </p>
  
  <blockquote>
    <blockquote>
      <blockquote>
        <p>import zmq
        Traceback (most recent call last):
          File "", line 1, in 
          File "C:\Python26\Lib\site-packages\pyzmq-2.1.10\zmq__init__.py", line 35, in 
            from zmq.utils import initthreads # initialize threads
        ImportError: cannot import name initthreads</p>
      </blockquote>
    </blockquote>
  </blockquote>
  
  <p>I also tired installing via the link at the very bottom of <a href="http://www.zeromq.org/docs:windows-installations" rel="nofollow">http://www.zeromq.org/docs:windows-installations</a>
  linking to <a href="http://miru.hk/archive/ZeroMQ-2.1.10-win32.exe" rel="nofollow">http://miru.hk/archive/ZeroMQ-2.1.10-win32.exe</a> but I also get an error message. </p>
  
  <p>Has anyone got this to work lib to work with python2.6? python2.7 seems to have no issues. </p>
  
  <p>Actually even if you use the win installers from <a href="https://github.com/zeromq/pyzmq/downloads" rel="nofollow">https://github.com/zeromq/pyzmq/downloads</a> for python2.7 for zmq 2.1.10 you get the error IPython.zmq requires pyzmq >= 2.1.4, but you have 2.1.<strong>10</strong>. Clearly a bug in the checking of the version. The older version 2.1.7 works seems to work because the 7 passes the check since its one digit long I'm guessing. </p>