[PyQt] pyqtdeploy : can't import pyd

Ilya Kulakov kulakov.ilya at gmail.com
Tue Feb 10 09:44:10 GMT 2015


I told you it would cause confusion.
Beware of dozens of support requests :)

> On 10 февр. 2015 г., at 15:42, Phil Thompson <phil at riverbankcomputing.com> wrote:
> 
> On 10/02/2015 9:30 am, MOHAMED BLACK wrote:
>> hi
>> i still have more *.pyd that can't import
>> pyodbc from https://code.google.com/p/pyodbc/
>> i build it from source and it's always working py2exe,cx_freeze,pyinstaller
>> but with pyqtdeploy when import the app exit with no messages "no stdout"
>> so all the *.pyd 's i know doesn't work with
>> pyqtdeploy(Cython,pywin32,pyodbc)
>> FYI : i do copy them to the *.exe directory cause if not a message is raise
>> about missing *.pyd
>> so what is the right way to import *.pyd files? with static python+qt in
>> pyqtdeploy
>> thanks in advance :)
>> win xp sp3
>> vs 2010 sp1
>> python 3.4.2
>> qt 5.4
>> latest Cython,pywin32,pyodbc
>> latest snapshot pyqt5,sip,pyqtdeploy
> 
> A statically compiled Python cannot import .pyd files. The Python interpreter has to be built as a DLL. This was the reason for adding the "Use standard Python shared library" options on the "Standard Library" tab.
> 
> Phil
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt



More information about the PyQt mailing list