Как решить проблему с AttributeError: module 'vk_api' has no attribute 'VkApi'. Did you mean: 'vk_api'?
import vk_api
import random
import time
import datetime
token = "токен..."
vk = vk_api.VkApi(token=token)
vk._auth_token()
data = {}
now = datetime.datetime.now()
timeA = now.hour
D:\Python\venv\Scripts\python.exe D:\Python\podioptombot.py
Traceback (most recent call last):
File "D:\Python\podioptombot.py", line 9, in
vk = vk_api.VkApi(token=token)
AttributeError: module 'vk_api' has no attribute 'VkApi'. Did you mean: 'vk_api'?