pyqt a third-party package python GUI design of
As a white, I think this blog good thief, I just follow this blog wrote.
This blog was divided into five steps, each step especially in detail.
---
pyqt problems encountered when packaged rice exe (my python environment is anaconda3)
Python PyInstaller 打包报错:AttributeError: 'str' object has no attribute 'items'
1, Solution 1
网上查询,可能是setuptools比较老: 更新一下 pip install --upgrade setuptools
按此方法,解决了我的问题,特记录。
2. Solution 2
Reinstall the environment, do not use anaconda environment