报错现象:
ValueError: check_hostname requires server_hostname
目录
1.运行环境
2.解决方法
1.运行环境
win10+Pycharm2020.1
2.解决方法
右击电脑右下方“网络图标”——>左击“打开“网络和Internet设置””——>点击“代理”——>关闭“使用代理服务器”。完成操作,重新运行程序,即可解决问题!

报错现象:
ValueError: check_hostname requires server_hostname
目录
1.运行环境
2.解决方法
win10+Pycharm2020.1
右击电脑右下方“网络图标”——>左击“打开“网络和Internet设置””——>点击“代理”——>关闭“使用代理服务器”。完成操作,重新运行程序,即可解决问题!