Forums

Pip3.7 - Pip 2.7 ?

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

are you running this in a bash console or a python console? sounds like you are trying to run your bash script not with bash but with python2.7.

See this if you are running a file (instead of directly typing commands into a bash console). You should specify /bin/bash