how to install pytest in windos code example Example 1: install pytest pip install pytest Example 2: pytest installation windows pip install -U pytest