No 'replit' module
Lumpy_Wiggles (60)

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')

You are viewing a single comment. View All
Answered by ThomasS1 (48) [earned 5 cycles]
View Answer
OwenBradstreet (81)

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."