how to download pytest for windows code example Example 1: install pytest pip install pytest Example 2: pytest installation windows pip install -U pytest