No module named replit | Indent errors

Question:
I keep getting no module named replit found as my error, how do I fix this?
Repl link:
https://replit.com/@DanielReid6/Merlin-Order-game?s=app

import os, discord
from discord.ext import commands

from replit import db
from game import *

if you found any more errors please tell me

Perhaps try running pip install replit in the shell.

1 Like

Didn’t replit module changed from replit to replit_database?

looks like packages were added to .upm/store.json before actually being installed. Fix by running in Shell:

rm .upm/store.json

then you have several indent errors in functions in game.py. See the syntax for defining functions to see how it should be

3 Likes