[zeromq-dev] building python bindings on Windows

Brad Reisfeld brad.reisfeld at gmail.com
Mon Jun 28 14:28:52 CEST 2010


On 6/28/2010 4:00 AM, zeromq-dev-request at lists.zeromq.org wrote:
> As a quick test, try dumping libzmq.dll into the same directory as your
> Python executable and see if that works.  I bet it will.
> 
> Generally you'll need to add the location of libzmq.dll to your PATH.  The
> reason this will work next to the executable is because Windows searches
> that directory, then PATH directories, for dlls -- it will NOT search the
> location of your sys.path.  Same behavior as LD_LIBRARY_PATH on Linux.
>  Here's MS's docs:
> http://msdn.microsoft.com/en-us/library/7d83bc18(VS.80).aspx
> 
> BTW, you shouldn't need to compile pyzmq with mingw.  Setup.py will work in
> a Visual studio 2008 shell just fine.
> 
>  - Chris
> 


Thanks, Chris!

That did the trick.

Cheers,
Brad





More information about the zeromq-dev mailing list