Skip to content
Sign upLog in
← Back to Community
No 'replit' module
Profile icon
Lumpy_Wiggles

I imported the module for repl.it, and got this:

Traceback (most recent call last): File "main.py", line 2, in <module> import replit ModuleNotFoundError: No module named 'replit'

Did you remove it or something? If so what should we use to clear screen? os.system('clear')

Answered by ThomasS1 [earned 5 cycles]
View Answer
Voters
Profile icon
cryptoseruveni
Profile icon
Animator282
Profile icon
ash15khng
Profile icon
Lumpy_Wiggles
Comments
hotnewtop
Profile icon
ThomasS1

**Here's a fix: ** replit module fix

Please select this as the answer if it works for you! Thanks.

Profile icon
OwenBradstreet

If you have multiple files (project mode), replit won't import. I also don't think os.system("clear") work either, it just prints "TERM environment not set."

Profile icon
ash15khng

I also have this same problem....