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

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

在这里插入图片描述

加上collections.Callable = collections.abc.Callable就行了