Forums

Problem with pyTelegramBotAPI (No module named 'telebot')

Hello, i have web application which is linked with my virtualenv (yes I activated it when I restarted web app). I also can see that 'pyTelegramBotAPI' is installed in my virtualenv (using 'pip freeze'), however when I run 'import telebot' file, i have error: No module named 'telebot'

I have no idea what is wrong, because if i install another library in virtualenv, 'numpy' for example, i can import it without any errors..

How are you running the code in question? That is, are you seeing the no module named 'telebot' message in your website's error log? Or in a console somewhere?