Answer the question
In order to leave comments, you need to log in
What is the aiogram telegram bot complaining about?
Friends, forum users. I'm already tired. I downloaded the template from the guide, entered my data where necessary. All exactly I see a number of errors it is not clear because of what.
Traceback (most recent call last):
File "C:/Users/nowos/Desktop/aiogram-bot-template-master/app.py", line 3, in <module>
from loader import dp
File "C:\Users\nowos\Desktop\aiogram-bot-template-master\loader.py", line 4, in <module>
from data import config
File "C:\Users\nowos\Desktop\aiogram-bot-template-master\data\config.py", line 7, in <module>
BOT_TOKEN = env.str("17409""""5"""""""""wHBFj4B""""""H2-_SV""""_Mk") # Забираем значение типа str
File "C:\Users\nowos\Desktop\aiogram-bot-template-master\venv\lib\site-packages\environs\__init__.py", line 75, in method
raise EnvValidationError('Environment variable "{}" not set'.format(source_key), [message])
environs.EnvValidationError: Environment variable "17409""""5"""""""""wHBFj4B""""""H2-_SV""""_Mk" not set
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question