出现AttributeError: module 'attr' has no attribute 's'的解决方法

在数据挖掘过程当中,安装了pandas_profiling包,可是安装之后就出现了 AttributeError: module ‘attr’ has no attribute ‘s’ 这个错误,一开始看网上说是包没有安装好,可是我卸载了新安装的包也没法正常运行程序,后来经过 在cmd下输入python pip uninstall attr pip install attrs 才解决了问题。git
相关文章
相关标签/搜索