zeromq/pyzmq — Issue #161: Windows: dependencies not filled in shared library manifests
Author: RussellTaylor
Created: 2011-12-15 19:12:17+00:00
State: open

We've been trying to add the ability to launch an IPython qt console from our C++ application. On Windows, things are failing because the import of (py)zmq fails (i.e. trying an "import zmq" in our python terminal fails). It turns out that this is because initthreads.pyd depends on the Visual Studio 2008 runtime (MSVCR90.DLL) but it does not know where to find it because the embedded manifest is lacking that information. So whereas in libzmq.dll the manifest contains the section:

`

`

the corresponding section in initthreads.pyd is empty (as it is for the other pyzmq libraries - this is just the first to get loaded).

Would it be possible to fix the install kits to point to the runtime correctly?
I assume that the import works on running a regular python terminal because it already has the runtime loaded - our application is built with VS2010, but we still use the stock (VS2008) python underneath.