skip to Main Content

from telegram.ext import (Updater, CommandHandler) . iam running this it shows like ModuleNotFoundError: No module named ‘telegram.ext’; ‘telegram’ is not a package

what should i do.

2

Answers


  1. from telegram.ext import Updater, CommandHandler, MessageHandler, Filters, CallbackContext
    
    Login or Signup to reply.
  2. I think the problem is pycharm or your IDE created an env for the project, and the library is installed globaly, not in the env for the project.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search