[zeromq-dev] Compile pyzmq on Windows

Christoph Buelter c.buelter at arcor.de
Wed Jun 24 00:13:21 CEST 2015


Hey thanks for answering. Forgot to mention, yes I do use Windows 7 and 
have the Windows 7.0 SDK installed.

I stumbled upon that, but the problem is I am stuck on the Python and VS 
versions since I want to compile pyzmq for usage within 3ds Max 2015, 
which uses those versions. I came across this trick to make Python 2.7.3 
work with a newer VS version by using an environment var: 
http://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-bat

I might also not have the exact Service Pack for VS 2012 that I need 
(based on 
http://help.autodesk.com/view/3DSMAX/2015/ENU/?guid=__files_GUID_6E179A56_5552_4D0B_BA61_BBD37B9E52DB_htm) 
so I will update and try again.

> I believe you have to use VS2008 to build extensions for Python 2.7 or 
> the Windows 7 (not 7.1) SDK, which is based on the same VC9. Microsoft 
> released a special package 
> <https://www.microsoft.com/en-us/download/details.aspx?id=44266> with 
> a VC++ compiler for Python 2, that might be what you need. I think you 
> may need a very recent Python 2.7 (.9 or .10, perhaps) for distutils 
> to find it, though.
>
> -MinRK
>
>>
> On Tue, Jun 23, 2015 at 2:37 PM, Christoph Buelter <c.buelter at arcor.de 
> <mailto:c.buelter at arcor.de>> wrote:
>
>     Hello,
>
>     I am trying to build pyzmq on *Windows*, Python 2.7.3 x64 with
>     Visual Studio 2012.
>
>     On a side note: I tried building libzmq 1.40 on my own beforehand,
>     but the paths in the solutions seem to be outdated and the
>     configure --zmq=path/to/libzmq did not work properly, so I thought
>     the step is probably not even needed: As far as I understood, it
>     already comes now with the source code of its dependencies
>     libsodium and libzmq. Please correct me if that is wrong.
>
>     So basically I downloaded the
>
>     |git clone git://github.com/zeromq/pyzmq.git|
>
>     repository and executed the following in a VS 2012 Command prompt:
>
>     |python setup.py configure ||python setup.py build_ext --inplace|
>
>     The output is as in the following link, it seems to have problems
>     compiling sodium:
>
>     http://pastebin.com/YpaqwitT
>
>     Any ideas or pointers?
>
>     Cheers,
>     Christoph
>
>     _______________________________________________
>     zeromq-dev mailing list
>     zeromq-dev at lists.zeromq.org <mailto:zeromq-dev at lists.zeromq.org>
>     http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150624/61403fa2/attachment.htm>


More information about the zeromq-dev mailing list