Why am I getting Module not found error

error:
Traceback (most recent call last):
File “main.py”, line 6, in
from replit import db
ModuleNotFoundError: No module named ‘replit’

code:
used it in discord bot development


Repl link:

code snippet

Hi @pdiveesh , welcome to the forums!
Can you try entering pip install replit into the Shell?

2 Likes

It worked!! Thank you very much.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.