Python PyInstaller 打包报错:AttributeError: 'str' object has no attribute 'items'

pyinstaller打包时报错:AttributeError: 'str' object has no attribute 'items'


网上查询,可能是setuptools比较老: 更新一下 pip install --upgrade setuptools