cx_Freeze/hooks.py PyCapsule_GetPointer called with incorrect name
ValueError: PyCapsule_GetPointer called with incorrect name
the file I want to pack uses PyQt5
cx_freeze version:6.1
安装新版本 6.3,6.5 未解决的
检查安装包是否安装PyQt5相关的冲突包,有则卸载:
类似这样:pip3 uninstall PyQt5
删除后再次运行:
python setup.py build
成功解决。