Error when importing pytest module on replit

Hello guys, I am getting the ModuleNotFoundError: No module named 'pytest' error when trying to import pytest on replit.

Traceback (most recent call last):
  File "main.py", line 2, in <module>
    from pytest import main
ModuleNotFoundError: No module named 'pytest'
exit status 1

What can I do? It seems I am not the only one going through this problem recently, this guy also reported the same issue link.

Thank you for this amazing learning platform, and I hope you all can give us a solution.

I think someone gave a working solution.

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