0

Hello everybody I'm trying to run the simplest code of tutorial about telepot in python but I keep getting this message ModuleNotFoundError: No module named 'telepot'

My code is very basic

import telepot

bot = telepot.Bot('1446317719:AAGZy_WVMMv8NG6g_E_fQCyx9ItdIprk7oA')

bot.getMe()

My python version is Python 2.7.16

My python3 version is Python 3.9.0

and my OS is Catalina 10.15.7

I have repeatedly installed telepot with pip install telepot and uninstalled and installed again. It has always completed with no error so I don't understand what's wrong

1 Answers1

0

I solved it. I installed it using pip3 install telepot and now it works