Arithmetic Formatter no module named pytest

python main.py
Traceback (most recent call last):
File “main.py”, line 2, in
from pytest import main
ModuleNotFoundError: No module named ‘pytest’
exit status 1

i think this says it all. is freecodecamp not maintained anymore or sth? whats going on?

edit: poetry install did it. weird lol

it can happen when importing the file to replit that something is lost in the process, try again, it usually works

1 Like