Здравствуйте.
такая же проблема. Установил по рекомендации pip install --force-reinstall -v "aiogram==2.23.1"
все равно выдает ошибку
Traceback (most recent call last):
File "C:\Users\kovvl\OneDrive\Документы\organaizer338_bot\bot.py", line 4, in
from aiogram import Bot,Dispatcher, executor, types
ModuleNotFoundError: No module named 'aiogram'
Вот код
import time
import logging
from aiogram import Bot,Dispatcher, executor, types
logging.basicConfig(level=logging.INFO)
TOKEN = "6708781197:AAHJ97NXdvqABwUZcJWAWhpUW_BPVmr02sM"
MSG = "Ты прошел олимпиаду, {}?"
bot =Bot(token=TOKEN)
d = Dispatcher(bot=bot)
@dp.message_handler(commands=['start'])
async def start_handler(message: types.Message):
user_id = message.from_user.id
user_name = message.from_user.first_name
user_full_name = message.from_user.full_name
loggimg.info(f'{user_id=} {user_full_name=} {time.asctime()}')
await message.reply(f"Привет, {user_full_name}!")
for i in range(7):
time.sleep(60*60*24)
await bot.send_message(user_id, MSG.format(user_name))
if __name__ == '__main__':
executor.start_polling(dp)