<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Phil,<br>
<br>
Having successfully got my application to build on MacOSX, I am now
attempting to do the same on Windows.<br>
<br>
Just for clarity, my setup is as follows:<br>
<br>
Windows 7<br>
MSVC 10.0<br>
Python 3.4.2<br>
Qt5.4<br>
PyQt5.4<br>
pyqtdeploy 1.2<br>
<br>
I have created a static build of all the required modules and have
successfully created a tiny test app that works. I have now got the
stage of attempting to include some .pyd files and am thoroughly
stuck. I have tried:<br>
<br>
1) The method as detailed in the documentation of placing the pyd
with a qualified name in the same directory as the output exe and
setting the sys.path correctly. This runs however I get: <font
face="Courier New, Courier, monospace">ImportError: Don't know how
to import numpy.core.multiarray (type code 3)</font>. Thinking
that this might be the joys of Windows and static python/dynamic
loading issue I tested it using both importlib and imp and found
that the load_dynamic() method is indeed undefined.<br>
<br>
2) I have now tried to configure my project to use the dynamic
Python as delivered by the MSI installer and have therefore set the
project to use platform python and pointed the include/lib fields at
my native install directories. This builds, but fails to run as it
can't import '_socket'. As this in one of the native c bits and
should therefore (I presume) be in the Python DLL I am left
wondering what the hell I've done wrong.<br>
<br>
I would really appreciate some guidance as to how to proceed now
either or a different path.<br>
<br>
Thanks very much indeed as always, Rob<br>
</body>
</html>