Packages not working (no module found)

Hi there!

I’ve come back to some of my repl’s, been a few years since I’ve reopened them. (The code was for two discord bots which I now want to revive in my discord server)

But rerunning doesn’t seem to function anymore, I constantly get an error that Flask module is not found, even though, when I look in the repl packages manager it is. Uninstalling it there to try to reinstall it doesn’t function as well, and the problem seems to be the same for all installed packages.

Can someone help me fix this? I really liked coding in but now it seems that it’ll not work anymore.


Welcome to Ask! You could try forking the Repl (sometimes they just break), copying the code to a new Repl, or reinstalling Flask (try poetry add flask or pip install flask).