运行dirmap命令时报错
AttributeError: module ‘collections’ has no attribute ‘MutableSet’
解决方案
网上找了很多解决方法,发现是python版本的问题(我这里用的是3.10.5版本的),他们的上级模块原本直属collections的变成了abc。
也就是说需要把collections.MutableSet改成collections.abc.MutableSet
只需要把报错的目录下这个文件打开,找到对应的行数
然后把collections.MutableSet改成collections.abc.MutableSet