Hi everyone. I’m trying to solve the Arithmetic Formatter challenge but I can’t run my code and I got this error: “Traceback (most recent call last):
File “/home/runner/boilerplate-arithmetic-formatter-1/main.py”, line 2, in
from pytest import main
ModuleNotFoundError: No module named ‘pytest’”
Does someone know what I did wrong?
Hey
@eudesbarrigah
I just forked it and tried it myself. It’s nothing you did wrong, so I’m not sure how it happened but I fixed it. Go into “modules” in replit, it did say pytest was installed but clearly it wasn’t working. I just removed the pytest module and reinstalled it by searching for it in the modules. Hopefully this works for you too!
Hi Fox … I’m having this exact same issue. Tried to follow your directions by going to modules but I cannot find it. Any help or suggestions would be greatly appreciated.
Here’s my replit …
Hi
@MauMau4
I have created a little screenshot guide for you, It’s my bad, you should go to the ‘packages’ section to find modules.
Screenshot_22
1919×773 57 KB
Screenshot_23
739×525 18.9 KB
Screenshot_24
732×438 12.1 KB
Hope this solves your problem! Have fun with the challenge.