pyTelegramBotAPI icon indicating copy to clipboard operation
pyTelegramBotAPI copied to clipboard

types and util are unresolved references

Open rudskoy opened this issue 9 years ago • 4 comments

Hi. I've installed it from pip recently (pip install telebot).

When I use:

import telebot from telebot import types from telebot import util

types and util are marked as 'Unresolved reference', I don't know what I'm doing wrong. Could you help me?

Result from python console: ImportError: No module named types Python 2.7 The latest telebot from api macOS

rudskoy avatar Apr 25 '17 22:04 rudskoy

@rudskoy,

pip uninstall telebot
pip install pytelegrambotapi

Olegt0rr avatar Apr 26 '17 05:04 Olegt0rr

Thank you

...dammit

rudskoy avatar Apr 26 '17 07:04 rudskoy

I done this on Ubuntu

pip uninstall telebot pip install pytelegrambotapi

get: AttributeError: module 'telebot' has no attribute 'TeleBot'

axtrace avatar Jan 20 '18 17:01 axtrace

Я сделал это на Ubuntu

pip uninstall telebot pip install pytelegrambotapi

get: AttributeError: модуль 'telebot' не имеет атрибута 'TeleBot'

Try this command on pyCharm, namely in "terminal"

pip install pyTelegramBotAPI

DiZiNnEs avatar Sep 12 '19 15:09 DiZiNnEs