Не могу передать решение captha в через модуль vk для python

import vk

def autorisation(user_login, user_password, captcha_sid = None,captcha_key = None):

    try:
        api = vk.UserAPI(
        user_login=user_login,
        user_password=user_password,
        captcha_sid=captcha_sid,
        captcha_key=captcha_key,
        scope='offline,wall,message,users',
        v='5.131'
    )
    except Exception as captcha:
        captcha_sid = captcha.captcha_sid
        print(captcha.captcha_img)
        captcha_key = input('\nВведите текст с картинки: ')
        autorisation(user_login, user_password, captcha_sid=captcha_sid, captcha_key=captcha_key)

    return api

Ответы (0 шт):