Closed kali-37 closed 1 year ago
Could you please provide all the code you use starting from the imports so we can try to reproduce the issue?
from twocaptcha import TwoCaptcha
solver = TwoCaptcha(anticaptcha_key)
solver.normal('/path')
from twocaptcha import TwoCaptcha solver = TwoCaptcha(anticaptcha_key) solver.normal('/path')
Just tested on a clean linux installation:
from twocaptcha import TwoCaptcha
solver = TwoCaptcha('KEY')
res = solver.normal('./cap.jpg')
print(res)
Works fine and prints the result.
Could you please run the following code and show the result?
import twocaptcha
print(twocaptcha.__version__)
print(dir(twocaptcha.TwoCaptcha))
twocaptcha couldnot be resolved. result=solver.normal('/path')
Error: 'normal' not found