Python 导入了chardet 调用detect的时候为什么报错:AttributeError: module 'chardet' has no attribute 'detect'
这是什么原因???
chardet包安装的不对吧
命令行里 dir 一下看看有没有dectet这个属性,目测肯定是chartdet包有问题,建议删掉重装
注意一下python 的版本 你都没用虚拟环境