python – PyTest on Windows: "It is not recognized as an internal or external command, program or executable batch file."

I have installed pytest with:

pip install --user pytest

However, when I ran it in a terminal, the following is displayed:

It is not recognized as an internal or external command, program or executable batch file

Does anyone know what can happen? Thank you