I’m starting to learn how to write tests for my code.
I’ve installed pytest on my device using pip.
But VS Code won’t access it. I assume it’s something to do with the path. I’ve tried using different IDEs, but I can’t find one that will let me use pytest without installing it.
This is the message I get.
I’ve added a path, and I assume it’s being added in the correct place. But it still doesn’t work.
I’ve tried looking online for almost two hours now… But I don’t understand proposed solutions when others have asked similar questions, and the solutions don’t appear to help me anyway.
Many thanks in advance if anyone could help me.