关于impacket套件smbclient.py报错:[-] module ‘collections‘ has no attribute ‘Callable‘的解决方案

  • Post author:
  • Post category:其他


定位到

C:\Users\LC\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyreadline\py3k_compat.py

在这里插入图片描述

加上

collections.Callable = collections.abc.Callable

就行了