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

I’m having this exact problem. How do you use poetry install?
I tried entering poetry install into the console on replit and it just said: “poetry: command not installed. Multiple versions of this command were found in Nix.”

See the answer at Replit code not running with Arithmetic Arranger - #2 by sanity

1 Like

That worked you are a wizard sir thank you!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.