wp-plugin-checker icon indicating copy to clipboard operation
wp-plugin-checker copied to clipboard

ImportError: cannot import name 'Callable' from 'collections'

Open unknownghost401 opened this issue 1 year ago • 0 comments

Traceback (most recent call last): File "/home/kali/Desktop/github/wp-plugin-checker/wp-check.py", line 6, in import proxy File "/home/kali/Desktop/github/wp-plugin-checker/proxy/init.py", line 1, in from .proxy import Proxy File "/home/kali/Desktop/github/wp-plugin-checker/proxy/proxy.py", line 3, in from . import socks File "/home/kali/Desktop/github/wp-plugin-checker/proxy/socks/init.py", line 1, in from .socks import * File "/home/kali/Desktop/github/wp-plugin-checker/proxy/socks/socks.py", line 62, in from collections import Callable ImportError: cannot import name 'Callable' from 'collections' (/usr/lib/python3.10/collections/init.py)

Edit the File "/home/kali/Desktop/github/wp-plugin-checker/proxy/socks/socks.py", line 62 from collections import Callable ----> from collections.abc import Callable

issue solved !

unknownghost401 avatar Oct 11 '22 10:10 unknownghost401