pip install pytest
Error message
ERROR: Could not find a version that satisfies the requirement pytest
ERROR: No matching distribution found for pytest
The solution is to use mirrored installation and everything will be fine!
pip install pytest -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com