Win 10,Python 3.4,PyQT 4.11,py2exe 0.9.2.2
我正在尝试从我的脚本制作可执行文件,但收到以下内容:
D:\Repos\GateManagement>py -3.4 -m py2exe.build_exe main.pyw
5 missing Modules
------------------
? Queue imported from mysql.connector.pooling
? System imported from serial.serialcli
? _mysql_connector imported from mysql.connector, mysql.connector.connection_cext, mysql.connector.cursor_cext
? readline imported from cmd, code, pdb
? xmlrpclib imported from mysql.connector.fabric.connection
Building 'dist\main.exe'.
如何添加(引用或其他)这5个缺失的模块?
答案 0 :(得分:0)
I solved it. It turns out I can't use .pyw but .py