No module named 'lichess': I can't import lichess.api

331 Views Asked by At

I am trying to use the lichess python API, but I cannot import it into python. I used the pip command and made sure it was updated and various other attempts, but it still gives me the error that says 'no module named 'lichess''

import lichess.api

user = lichess.api.user('thibault')
print(user['perfs']['blitz']['rating'])

command line output when I type pip install python-lichess: https://pastebin.com/1LmXJtcB

0

There are 0 best solutions below