[PyQt] cx-freeze error

o.fournier at perigord.com o.fournier at perigord.com
Wed Oct 19 18:38:32 BST 2011


add pyqt4 dlls:

libeay32.dll
ssleay32.dll


Le 19/10/2011 11:23, o.fournier at perigord.com a écrit :
> Hello,
>
> I need to compile python3 script with cx_freeze
> If PyQt4 with python3 is not installed on the operating system,
> when I execute the program, it can't find 
> ExtensionLoader_Pyqt4_QtNetwork.py
> I try to find this file to add it to my x-freeze setup but I not find it.
> Could you help me?
>
> thanks
>
> Olivier Fournier
>
> os: Windows Vista or Seven 32bits
> python 3.2.2
> PyQt-Py3.2-x86-gpl-4.8.5-1
>
>
> python prog sample:
>
> PyQt4app.py
>
> import sys
> from PyQt4.QtCore import *
> from PyQt4.QtGui import *
> from PyQt4.QtNetwork import *
>
> app = QApplication(sys.argv)
> form = QDialog()
> form.show()
> app.exec_()
>
>
> cx-freeze setup
>
>
> import sys
>
> from cx_Freeze import setup, Executable
>
> setup(
>         name = "simple_PyQt4",
>         version = "0.1",
>         description = "Sample cx_Freeze PyQt4 script",
>         executables = [Executable("PyQt4app.py")])
>
>
>
>
>
>
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>



More information about the PyQt mailing list