报错链:
1、ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:841)
2、urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='paddlepaddle.org.cn', port=443): Max retries exceeded with url: /paddlehub/search?environments=python_version&environments=platform_version&environments=platform_system&environments=platform_architecture&environments=platform_type&word=deeplabv3p_xception65_humanseg&type=module&hub_version=2.1.1&paddle_version=2.4.2 (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:841)'),))
3、paddlehub.server.server_source.ServerConnectionError: Can't connect to Hub Server: http://paddlepaddle.org.cn/paddlehub
或者
RuntimeError: Request Hub-Server unsuccessfully, please check your network.
解决方法:
方法一:关掉VPN,即开了系统代理的关掉系统代理。
方法二:是urllib3的版本问题,安装下面这个版本
pip install urllib3==1.25.11
即可解决。