pip install ValueError: check_hostname requires server_hostname 开了vpn导致的,关闭vpn即可 pip 切换国内源 https://blog.csdn.net/sinat_21591675/article/details/82770360