I've been using repl.it to run a simple Discord bot for nearly a year. Recently, I began getting this response when I tried to run it:
Repl.it: Updating package configuration --> /usr/local/bin/python3 -m poetry lock [NonExistentKey] 'Key "authors" does not exist.' lock exit status 1 Repl.it: Package operation failed. Traceback (most recent call last): File "main.py", line 4, in <module> from discord import * ModuleNotFoundError: No module named 'discord'
I cleared my cache as an attempt to fix this problem, and then discovered that the code only runs when I am logged out of my account. When I'm logged out, it works fine, but once I log back in, this error occurs. Why does this happen, and is there any way I can fix it so that I don't have to constantly log out in order to use this bot?
Thanks for any help!