U
U
ufofly2020-04-14 00:49:59
linux
ufofly, 2020-04-14 00:49:59

Python giving error about non-existent module, on Raspberry Pi?

Python throws error about non-existent module, on Raspberry Pi?
5e94de6db67fb016650366.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Verbin, 2020-04-14
@rez0n

It has nothing to do with the Raspberry Pi.
Try the following

pip uninstall telebot
pip install pytelegrambotapi

The name of the import does not change, it is the same library, but a different package.
There are a lot of similar questions in the official Issues on Github.

U
ufofly, 2020-04-14
@ufofly

It has nothing to do with the Raspberry Pi.

I don’t know if it has it or not, it puts the latest version for this piece of iron 5.3.5
in general RESOLVED !!!
installation from source
git clone https://github.com/eternnoir/pyTelegramBotAPI.git
cd pyTelegramBotAPI/
python3 setup.py install

I didn't think there was a big difference...
PS And yes, you should use pip3 and python3 ! because installed two versions of python (maybe it will be useful for someone)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question