Python- Arithmetic Formatter - Replit crashes :(

Tell us what’s happening:
------Here’s what’s happening on replit when trying to do test the code I wrote:
Traceback (most recent call last):
File “main.py”, line 2, in
from pytest import main
ModuleNotFoundError: No module named ‘pytest’

------I found a similar problem concerning Replit:

-----The solutions from there don’t work. They advise to change replit.nix to:
deps = [
pkgs.python38Full
pkgs.python38Packages.pytest
];
-----I’ve tried adding the below data with a change to match the current in the following manner
deps = [
pkgs.python310Full
pkgs.python310Packages.pytest
pkgs.replitPackages.prybar-python310
pkgs.replitPackages.stderred
];
-----that gave out some weird unending waterfall of errors. What do I do ?
If anyone can, please help…

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

Link to the challenge:

At the Shell command prompt type: “pip install pytest”

1 Like

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