uuazed/numerapi

UnicodeEncodeError on SignalsAPI.get_models()

yarimiz opened this issue · 0 comments

While trying to submit predictions to Signals, I get the following exception when trying to run SignalsAPI.get_models()

Exception has occurred: UnicodeEncodeError
'latin-1' codec can't encode character '\u05d7' in position 33: ordinal not in range(256)

My code for reference

    public_id = XXX
    secret_key = YYY
    napi = numerapi.SignalsAPI(public_id, secret_key)

    model_id = napi.get_models()

Environment details:
Python 3.9.6 on Windows 10
requests==2.26.0
requests-oauthlib==1.3.0
numerapi==2.6.0

Reproducing with numerai==2.4.5 also, and with requests==2.23.0