Install bot #76
Replies: 3 comments 6 replies
-
Hello please read the README.md, your error is that you have not installed the bot's API key in the .env file |
Beta Was this translation helpful? Give feedback.
-
Делал все шаг за шагом, вылазила ошибка не хватает мол переменной в env, я добавил там стало не хватать client id. Позже решил через docker все поставить, и тоже самое |
Beta Was this translation helpful? Give feedback.
-
Traceback (most recent call last):
File "//DatingBot/app.py", line 4, in
from django_project.telegrambot.telegrambot import settings
File "//DatingBot/django_project/telegrambot/telegrambot/settings.py", line 10, in
SECRET_KEY = load_config().misc.secret_key
File "/*/DatingBot/data/config.py", line 53, in load_config
token=env.str("BOT_TOKEN"),
File "/usr/local/lib/python3.10/dist-packages/environs/init.py", line 116, in method
raise EnvError('Environment variable "{}" not set'.format(proxied_key or parsed_key))
environs.EnvError: Environment variable "BOT_TOKEN" not set
Beta Was this translation helpful? Give feedback.
All reactions