python打包exe问题
使用pyinstaller打包成exe时发现一个问题,AttributeError: ‘str’ object has no attribute ‘items’,开始以为是哪个import的包有问题,挨个卸载试了也不行,最终发现不是import包的问题,而是pyinstaller的问题,上网查到https://blog.youkuaiyun.com/m0_37876745/article/details/80719906
发现直接用pip install setuptools是没有用的,最后下载https://pypi.org/project/setuptools/里面的setuptools最新版本,并安装,解决问题。