RuslanUC / aio-hcaptcha

Unofficial async wrapper for interacting with hCaptcha
MIT License
23 stars 10 forks source link

Attribute error #12

Closed Pazuzu777 closed 1 year ago

Pazuzu777 commented 1 year ago

Hello sir, could you please help solve this error?

File "C:\Users\nuyaiwo\AppData\Local\Programs\Python\Python310\lib\site-packages\async_hcaptcha\__init__.py", line 1, in <module>
    from .asynchcaptcha import AioHcaptcha
  File "C:\Users\nuyaiwo\AppData\Local\Programs\Python\Python310\lib\site-packages\async_hcaptcha\asynchcaptcha.py", line 26, in <module>
    hcaptcha_challenger.logger.remove() # TODO: Redirect logs from loguru to logging or use loguru instead of logging
AttributeError: module 'hcaptcha_challenger' has no attribute 'logger'
RuslanUC commented 1 year ago

Try to run pip install --upgrade hcaptcha_challenger

Pazuzu777 commented 1 year ago

solved the problem, thank you