Write in the console bash: pip3.7 install --user vk_api When you run the script writes: 2.7 Loading console... Preparing execution environment... OK Reversing the polarity of the neutron flow... OK Loading Python 2.7 interpreter... Why 2.7 ? After all, it should be 3.7. Error running script: Traceback (most recent call last): File "/home/Berinof/Bot vk.py", line 5, in <module> from vk_api.longpoll import VkLongPoll, VkEventType ImportError: No module named vk_api.longpoll