Replit code not running with Arithmetic Arranger

I imported the starter code from github and my code only runs tests when I type in pytest into the console, whenever I click the run button I get a modulenotfound error for pytest even though I’ve searched the web on how to install it onto replit. There’s also no packager icon on the left side either. How do I get pytest onto replit so the run button works?

Looks like something changed recently in the replit dependency handling.

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) add pkgs.python38Packages.pytest under the deps, it should look something like:

  deps = [
    pkgs.python38Full
    pkgs.python38Packages.pytest
  ];

https://replit.com/@TTRAN70/boilerplate-arithmetic-formatter

here is my code

Have you tried editing replit.nix file as described above?

This broke very recently. I just used the repl.it link two days ago with no issues.

Also, what do you do when you do not have a replit.nix file. I just clicked the link to the starter code for this project and see the following:

Never mind… I figured it out.

this is what i got

Line with module needs to be added into the deps that are defined on line 2.

hey!!!.,thanks it worked :facepunch: :facepunch: :facepunch: :facepunch:

Thank you so much. It worked!