I do everything according to the manual: https://pypi.python.org/pypi/vk/1.5

Here is the code:

Pliz explain why swears

  • 3
    The error message states that two arguments are required to call a function, and only one argument is given. - Vlad from Moscow
  • 2
    Do not use pictures to show the error text. This makes it difficult for people to find this message with the same question. If you do not know how to copy text from the console, then ask a separate question specifically about this. - jfs

1 answer 1

You are using an old version of the manual. The new one is located here https://pypi.python.org/pypi/vk/2.0.2 and here http://vk.readthedocs.io/en/latest/usage/#vk-session

session = vk.Session(access_token='############') vkapi = vk.API(session)