口罩预测hub install 下载模型时报错
Created by: pqingshuang
欢迎您反馈PaddleHub使用问题,非常感谢您对PaddleHub的贡献! 在留下您的问题时,辛苦您同步提供如下信息:
- 版本、环境信息 1)PaddleHub和PaddlePaddle版本:请提供您的PaddleHub和PaddlePaddle版本号,例如PaddleHub1.4.1,PaddlePaddle1.6.2 2)系统环境:请您描述系统类型,例如Linux/Windows/MacOS/,python版本
- 复现信息:如为报错,请给出复现环境、复现步骤
windows。python环境3.6 C:\Users\qingshuang.pang\Documents\P6_face_detection\code> hub install pyramidbox_lite_mobile_mask==1.0.0 Traceback (most recent call last): File "c:\programdata\anaconda3\lib\site-packages\urllib3\contrib\pyopenssl.py", line 485, in wrap_socket cnx.do_handshake() File "c:\programdata\anaconda3\lib\site-packages\OpenSSL\SSL.py", line 1934, in do_handshake self._raise_ssl_error(self._ssl, result) File "c:\programdata\anaconda3\lib\site-packages\OpenSSL\SSL.py", line 1671, in _raise_ssl_error _raise_current_error() File "c:\programdata\anaconda3\lib\site-packages\OpenSSL_util.py", line 54, in exception_from_error_queue raise exception_type(errors) OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "c:\programdata\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 672, in urlopen chunked=chunked, File "c:\programdata\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 376, in _make_request self._validate_conn(conn) File "c:\programdata\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 994, in validate_conn conn.connect() File "c:\programdata\anaconda3\lib\site-packages\urllib3\connection.py", line 394, in connect ssl_context=context, File "c:\programdata\anaconda3\lib\site-packages\urllib3\util\ssl.py", line 370, in ssl_wrap_socket return context.wrap_socket(sock, server_hostname=server_hostname) File "c:\programdata\anaconda3\lib\site-packages\urllib3\contrib\pyopenssl.py", line 491, in wrap_socket raise ssl.SSLError("bad handshake: %r" % e) ssl.SSLError: ("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "c:\programdata\anaconda3\lib\site-packages\requests\adapters.py", line 449, in send timeout=timeout File "c:\programdata\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 720, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "c:\programdata\anaconda3\lib\site-packages\urllib3\util\retry.py", line 436, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='bj.bcebos.com', port=443): Max retries exceeded with url: /paddlehub/paddlehub_dev/pyramidbox_lite_mobile_mask.tar.gz (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "c:\programdata\anaconda3\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "c:\programdata\anaconda3\lib\runpy.py", line 85, in run_code exec(code, run_globals) File "C:\ProgramData\Anaconda3\Scripts\hub.exe_main.py", line 7, in File "c:\programdata\anaconda3\lib\site-packages\paddlehub\commands\hub.py", line 64, in main command.execute(argv[1:]) File "c:\programdata\anaconda3\lib\site-packages\paddlehub\commands\hub.py", line 51, in execute return command.execute(argv[1:]) File "c:\programdata\anaconda3\lib\site-packages\paddlehub\commands\install.py", line 65, in execute extra=extra) File "c:\programdata\anaconda3\lib\site-packages\paddlehub\module\manager.py", line 160, in install_module print_progress=True) File "c:\programdata\anaconda3\lib\site-packages\paddlehub\common\downloader.py", line 73, in download_file r = requests.get(url, stream=True) File "c:\programdata\anaconda3\lib\site-packages\requests\api.py", line 75, in get return request('get', url, params=params, **kwargs) File "c:\programdata\anaconda3\lib\site-packages\requests\api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "c:\programdata\anaconda3\lib\site-packages\requests\sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "c:\programdata\anaconda3\lib\site-packages\requests\sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "c:\programdata\anaconda3\lib\site-packages\requests\adapters.py", line 514, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='bj.bcebos.com', port=443): Max retries exceeded with url: /paddlehub/paddlehub_dev/pyramidbox_lite_mobile_mask.tar.gz (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
C:\Users\qingshuang.pang\Documents\P6_face_detection\code> hub install pyramidbox_lite_mobile_mask==1.0.1 Traceback (most recent call last): File "c:\programdata\anaconda3\lib\site-packages\urllib3\contrib\pyopenssl.py", line 485, in wrap_socket cnx.do_handshake() File "c:\programdata\anaconda3\lib\site-packages\OpenSSL\SSL.py", line 1934, in do_handshake self._raise_ssl_error(self._ssl, result) File "c:\programdata\anaconda3\lib\site-packages\OpenSSL\SSL.py", line 1671, in _raise_ssl_error _raise_current_error() File "c:\programdata\anaconda3\lib\site-packages\OpenSSL_util.py", line 54, in exception_from_error_queue raise exception_type(errors) OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "c:\programdata\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 672, in urlopen chunked=chunked, File "c:\programdata\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 376, in _make_request self._validate_conn(conn) File "c:\programdata\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 994, in validate_conn conn.connect() File "c:\programdata\anaconda3\lib\site-packages\urllib3\connection.py", line 394, in connect ssl_context=context, File "c:\programdata\anaconda3\lib\site-packages\urllib3\util\ssl.py", line 370, in ssl_wrap_socket return context.wrap_socket(sock, server_hostname=server_hostname) File "c:\programdata\anaconda3\lib\site-packages\urllib3\contrib\pyopenssl.py", line 491, in wrap_socket raise ssl.SSLError("bad handshake: %r" % e) ssl.SSLError: ("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "c:\programdata\anaconda3\lib\site-packages\requests\adapters.py", line 449, in send timeout=timeout File "c:\programdata\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 720, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "c:\programdata\anaconda3\lib\site-packages\urllib3\util\retry.py", line 436, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='bj.bcebos.com', port=443): Max retries exceeded with url: /paddlehub/paddlehub_dev/pyramidbox_lite_mobile_mask_1.0.1.tar.gz (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "c:\programdata\anaconda3\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "c:\programdata\anaconda3\lib\runpy.py", line 85, in run_code exec(code, run_globals) File "C:\ProgramData\Anaconda3\Scripts\hub.exe_main.py", line 7, in File "c:\programdata\anaconda3\lib\site-packages\paddlehub\commands\hub.py", line 64, in main command.execute(argv[1:]) File "c:\programdata\anaconda3\lib\site-packages\paddlehub\commands\hub.py", line 51, in execute return command.execute(argv[1:]) File "c:\programdata\anaconda3\lib\site-packages\paddlehub\commands\install.py", line 65, in execute extra=extra) File "c:\programdata\anaconda3\lib\site-packages\paddlehub\module\manager.py", line 160, in install_module print_progress=True) File "c:\programdata\anaconda3\lib\site-packages\paddlehub\common\downloader.py", line 73, in download_file r = requests.get(url, stream=True) File "c:\programdata\anaconda3\lib\site-packages\requests\api.py", line 75, in get return request('get', url, params=params, **kwargs) File "c:\programdata\anaconda3\lib\site-packages\requests\api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "c:\programdata\anaconda3\lib\site-packages\requests\sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "c:\programdata\anaconda3\lib\site-packages\requests\sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "c:\programdata\anaconda3\lib\site-packages\requests\adapters.py", line 514, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='bj.bcebos.com', port=443): Max retries exceeded with url: /paddlehub/paddlehub_dev/pyramidbox_lite_mobile_mask_1.0.1.tar.gz (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))