d-Rickyy-b / Python-BlackJackBot

A Telegram bot written in Python to play the game BlackJack alone or with your friends
https://telegram.me/BlackJackBot
GNU General Public License v3.0
76 stars 37 forks source link

No module named 'config' #79

Closed demix506 closed 4 years ago

demix506 commented 4 years ago

Please, help. I run main.py, the system throws an error

File "D:/programmer/bot1/Python-BlackJackBot/main.py", line 15, in from config.sample import BOT_TOKEN, USE_WEBHOOK, WEBHOOK_PORT, WEBHOOK_URL, CERTPATH ModuleNotFoundError: No module named 'config'

Windows 10, python-telegram-bot module - installed

d-Rickyy-b commented 4 years ago

Hi there. Please make sure to copy the config.sample.py into a new file called config.py

Don't forget to change the values in that config file.