ModuleNotFoundError: No module named 'tinkoff.invest'; 'tinkoff' is not a package

Viewed 30

I have trouble with tinkoff API 2.0. Venv does not see tinkoff-investments, but it was installed successfully.

What did I try:

  • downgrade from 3.10 to 3.8 python version
  • update from 3.10 to 3.10.7
  • deleted and installed module tinkoff-investments

CODE: image

from tinkoff.invest import Client

TOKEN = 'my_token'

with Client(TOKEN) as client:

    print(client.users.get_accounts())
0 Answers
Related