Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #1

Open
samucamg opened this issue Sep 25, 2023 · 0 comments
Open

Error #1

samucamg opened this issue Sep 25, 2023 · 0 comments

Comments

@samucamg
Copy link

Do I need to create a .env file with both variables?
TOKEN_BOT_TELEGRAM = abcderfghkejkejkejekjke
API_KEY_EMBy = lldd84dkdkdkkddk
Or I can just edit these values in the tgemby.py file
I tried with both cases and got an error.

python3 tgemby.py
Traceback (most recent call last):
File "tgemby.py", line 1, in
import telebot
File "/usr/local/lib/python3.6/site-packages/telebot/init.py", line 13, in
import telebot.util
File "/usr/local/lib/python3.6/site-packages/telebot/util.py", line 14, in
from telebot import types
File "/usr/local/lib/python3.6/site-packages/telebot/types.py", line 2
from future import annotations
^
SyntaxError: future feature annotations is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant