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 <[email protected]> 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 > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
