ModuleNotFoundError: No module named 'py test' on

I am working on Arithmetic Formatter project in python on but it is returning an error ModuleNotFoundError: No module named 'py test

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.66 Safari/537.36 Edg/103.0.1264.44

Challenge: Arithmetic Formatter

Link to the challenge:


It seems that something has changed (very recently) in replit.

See this forum post for a possible solution.

1 Like

Thank you. It worked!

I have found is adding required modules manually in the replit.nix file (it’s hidden, you will need to click three dots at the right of the Files tab and click Show hidden files ). Then add the required modules in the deps , for this project it should look like this:

deps = [

Thank you


3 posts were split to a new topic: ModuleNotFoundError: No module named ‘pytest’

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